import type { BulkWriteRow, ById, RxDocumentData, RxJsonSchema, RxStorageInstanceReplicationState, RxStorageReplicationMeta, WithDeleted } from '../types/index.d.ts'; export declare const META_INSTANCE_SCHEMA_TITLE = "RxReplicationProtocolMetaData"; 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): Promise>>;