import { Doc } from 'yjs'; import type { WorkspaceMilestone } from './shared'; export declare const writeOperation: (op: Promise) => Promise; export declare function revertUpdate(doc: Doc, snapshotUpdate: Uint8Array, getMetadata: (key: string) => 'Text' | 'Map' | 'Array'): void; export declare class EarlyDisconnectError extends Error { constructor(); } export declare class CleanupWhenConnectingError extends Error { constructor(); } export declare const markMilestone: (id: string, doc: Doc, name: string, dbName?: string) => Promise; export declare const getMilestones: (id: string, dbName?: string) => Promise; export * from './provider'; export * from './shared'; export * from './utils'; //# sourceMappingURL=index.d.ts.map