export declare type PersistorOptions = { name: string; version?: string; persist?: (state: T) => Partial; migrations?: Migrations; }; declare type Migration = (state: any) => any; declare type Migrations = { [k: string]: Migration; }; export declare const createPersistor: (options: PersistorOptions) => { set: (value: T) => Promise; get: () => Promise; purge: () => Promise; }; export {};