import * as Automerge from "@automerge/automerge";
import type { HubViewDocumentState, SessionCrdtSyncFormat } from "../../hub/index.js";
export interface PeerCrdtApplyResult {
    view: Automerge.Doc<HubViewDocumentState>;
}
export declare class PeerCrdtState {
    private doc;
    reset(): void;
    applySyncMessage(message: Uint8Array, format?: SessionCrdtSyncFormat): PeerCrdtApplyResult;
    getSnapshot(): Automerge.Doc<HubViewDocumentState>;
}
//# sourceMappingURL=peer-crdt-state.d.ts.map