import { next as A } from '@automerge/automerge'; import { type DocumentId } from '@automerge/automerge-repo'; import { type DatabaseDirectory, type EntityStructure } from '@dxos/echo-protocol'; import { type SpaceId } from '@dxos/keys'; /** Id of the document an object inlined in the space directory `directoryId` moves to. */ export declare const inlineObjectDocumentId: (directoryId: DocumentId, objectId: string) => Promise; /** * The document an inlined object moves to, holding only that object, as one deterministic change; see * {@link buildDeterministicDocument}. */ export declare const buildInlineObjectDocument: ({ directoryId, spaceId, spaceKey, objectId, structure, }: { directoryId: DocumentId; spaceId: SpaceId; /** Written alongside `spaceId` for clients that still read it, as every new document is. */ spaceKey: string | null; objectId: string; structure: EntityStructure; }) => Promise>; /** * Whether a document holds only creation changes — the deterministic ones migrating peers write, which depend on * nothing. Its object is then still the inline copy as some peer saw it, and no one has edited it through a link. */ export declare const isUntouchedSinceCreation: (doc: A.Doc) => boolean; //# sourceMappingURL=inline-objects.d.ts.map