import { Option, State, StoreBackendOptions } from '../types'; import { TimeStrategy } from '../time-strategy'; export declare function allowSave(plugin: string): (...storeId: string[]) => Promise; export declare function allowSync(plugin: string): (...storeId: string[]) => Promise; export declare function clearAutosave(plugin: string): () => Promise; export declare function denySave(plugin: string): (...storeId: string[]) => Promise; export declare function denySync(plugin: string): (...storeId: string[]) => Promise; export declare function getDefaultSaveStrategy(plugin: string): () => Promise; export declare function getSaveStrategy(plugin: string): (storeId: string) => Promise; export declare function getStoreCollectionPath(plugin: string): () => Promise; export declare function getStoreIds(plugin: string): () => Promise; export declare function getStorePath(plugin: string): (storeId: string) => Promise; export declare function getStoreState(plugin: string): (storeId: string) => Promise; export declare function save(plugin: string): (...storeId: (string | string[])[]) => Promise; export declare function saveAll(plugin: string): () => Promise; export declare function saveAllNow(plugin: string): () => Promise; export declare function saveNow(plugin: string): (...storeId: (string | string[])[]) => Promise; export declare function setAutosave(plugin: string): (interval: Option) => Promise; export declare function setSaveStrategy(plugin: string): { (storeId: string, strategy: "immediate"): Promise; (storeId: string, strategy: "debounce" | "throttle", interval: number): Promise; }; export declare function setStoreCollectionPath(plugin: string): (path: string) => Promise; export declare function setStoreOptions(plugin: string): (storeId: string, options: StoreBackendOptions) => Promise;