import type { BulkWriteRow, ById, RxDocumentData, RxJsonSchema, RxStorageInstanceReplicationState, RxStorageReplicationMeta, WithDeleted } from '../types'; export declare function getRxReplicationMetaInstanceSchema(replicatedDocumentsSchema: RxJsonSchema>, encrypted: boolean): RxJsonSchema>; /** * Returns the document states of what the fork instance * assumes to be the latest state on the master instance. */ export declare function getAssumedMasterState(state: RxStorageInstanceReplicationState, docIds: string[]): Promise; metaDocument: RxDocumentData; }>>; export declare function getMetaWriteRow(state: RxStorageInstanceReplicationState, newMasterDocState: WithDeleted, previous?: RxDocumentData, isResolvedConflict?: string): BulkWriteRow;