import type { RxCollection, WithDeleted } from '../../types'; export declare const DEFAULT_MODIFIER: (d: any) => Promise; export declare function swapDefaultDeletedTodeletedField(deletedField: string, doc: WithDeleted): RxDocType; /** * Must be run over all plain document data * that was pulled from the remote. * Used to fill up fields or modify the deleted field etc. */ export declare function handlePulledDocuments(collection: RxCollection, deletedField: string, docs: RxDocType[]): WithDeleted[]; /** * Like normal promiseWait() * but will skip the wait time if the online-state changes. */ export declare function awaitRetry(collection: RxCollection, retryTime: number): Promise;