/**
 * SyncBridge — wraps a mog SDK object's internal compute bridge to
 * expose Yrs CRDT sync primitives as binary (Uint8Array) operations.
 *
 * This is the ONLY file that touches mog SDK internals for CRDT sync.
 * If the mog team later exposes a public network sync API, swap this file.
 *
 * Internal access paths (both lead to the same ComputeBridge):
 *   HeadlessEngine → .lifecycle.computeBridge
 *   Workbook (WorkbookImpl) → .ctx.computeBridge
 */
export declare class SyncBridge {
    private bridge;
    /**
     * @param engineOrWorkbook - A mog HeadlessEngine or Workbook instance.
     *   At runtime, both expose a compute bridge via internal properties.
     */
    constructor(engineOrWorkbook: any);
    /** Full Yrs document state as binary — used for initial sync to server. */
    getFullState(): Promise<Uint8Array>;
    /** Local Yrs state vector — used in state-vector exchange protocol. */
    getStateVector(): Promise<Uint8Array>;
    /** Compute diff that would bring a remote (with given state vector) up to date. */
    computeDiff(remoteSv: Uint8Array): Promise<Uint8Array>;
    /** Apply a remote Yrs update to the local engine. */
    applyUpdate(update: Uint8Array): Promise<void>;
    /**
     * Convert raw Yrs state bytes into a WorkbookSnapshot JSON string.
     * Uses the NAPI addon's `yrs_state_to_snapshot_json` function.
     */
    static snapshotFromState(state: Uint8Array): string;
    /** Return the native compute addon (for createHeadlessEngine's computeAddon param). */
    static getNativeAddon(): any;
}
//# sourceMappingURL=sync-bridge.d.ts.map