import { SyncWatcher } from './syncCtl';
export type SyncWatchers = {
    [key: string]: SyncWatcher;
};
export declare function syncer(enqueue: Function): Promise<{
    addItem(itemPath: string): void;
    updateItem(itemPath: string): Promise<void>;
    deleteItem(itemPath: string): void;
}>;
export declare function loop(enqueueIfNeeded: Function, api: any): Promise<void>;
