import type * as Y from 'yjs'; import type { Store, StoreOptions, YBlock } from '../../model'; import type { AwarenessStore } from '../../yjs'; import type { Workspace } from './workspace.js'; import type { DocMeta } from './workspace-meta.js'; export type GetStoreOptions = Omit; export type RemoveStoreOptions = Pick; export interface Doc { readonly id: string; get meta(): DocMeta | undefined; remove(): void; load(initFn?: () => void): void; get ready(): boolean; dispose(): void; clear(): void; getStore(options?: GetStoreOptions): Store; removeStore(options: RemoveStoreOptions): void; get loaded(): boolean; get awarenessStore(): AwarenessStore; get workspace(): Workspace; get rootDoc(): Y.Doc; get spaceDoc(): Y.Doc; get yBlocks(): Y.Map; } export declare const DocIdentifier: import("@blocksuite/global/di").ServiceIdentifier & ((variant: import("@blocksuite/global/di").ServiceVariant) => import("@blocksuite/global/di").ServiceIdentifier); //# sourceMappingURL=doc.d.ts.map