import { Reducer } from './Reducer';
declare const CREATE = "CREATE";
declare const DESTROY = "DESTROY";
declare const DISCARD = "DISCARD";
declare const MERGE = "MERGE";
declare const UPDATE = "UPDATE";
export declare const odataActions: {
    CREATE: string;
    DESTROY: string;
    DISCARD: string;
    MERGE: string;
    UPDATE: string;
};
interface PersistenceAction {
    CREATE: {
        path: string[];
        query: FlatObject;
        type: typeof CREATE;
    };
    DESTROY: {
        path: string[];
        payload: Content;
        type: typeof DESTROY;
    };
    DISCARD: {
        path: string[];
        payload: Content;
        type: typeof DISCARD;
    };
    MERGE: {
        path: string[];
        payload: Content;
        type: typeof MERGE;
    };
    UPDATE: {
        path: string[];
        payload: Content;
        type: typeof UPDATE;
    };
}
declare const reducePersistence: Reducer<any, PersistenceAction[keyof PersistenceAction]>;
export default reducePersistence;
