import * as Automerge from '@automerge/automerge'; import type { PersonaEdge, PersonaNode, PersonaSyncDelta, PersonaSyncOperation, SyncApplyResult, ZkProofBundle } from './types.js'; export declare function createPersonaDelta(input: { vaultId: string; fromDid: string; operations: PersonaSyncOperation[]; vectorClock: Record; cursor?: string; proofs?: ZkProofBundle[]; }): PersonaSyncDelta; export declare function mergeNodeLww(local: PersonaNode | undefined, incoming: PersonaNode): PersonaNode; export declare function mergeEdgeWeighted(local: PersonaEdge | undefined, incoming: PersonaEdge): PersonaEdge; export declare function mergeDomainDoc(current: Automerge.Doc> | undefined, patch: Record): Automerge.Doc>; export declare function emptyApplyResult(cursor: string): SyncApplyResult; //# sourceMappingURL=sync.d.ts.map