import { Extension } from '@tiptap/core'; export interface WorkDocumentParagraphIdentity { paragraphId: string; textId: string; } export interface WorkDocumentParagraphIdentitySource { paragraphId?: unknown; textId?: unknown; } export interface WorkDocumentParagraphIdentityRegistry { paragraphIds: Set; } interface DocumentParagraphIdentityOptions { rotateTextId: () => boolean; types: string[]; } export declare const DOCUMENT_PARAGRAPH_ID_ATTRIBUTE = "data-office-paragraph-id"; export declare const DOCUMENT_PARAGRAPH_TEXT_ID_ATTRIBUTE = "data-office-paragraph-text-id"; export declare const DocumentParagraphIdentity: Extension; export declare function normalizeDocumentParagraphId(value: unknown): string | null; export declare function createDocumentParagraphIdentityRegistry(): WorkDocumentParagraphIdentityRegistry; export declare function normalizeDocumentParagraphIdentity(source: WorkDocumentParagraphIdentitySource): WorkDocumentParagraphIdentity | null; export declare function documentParagraphIdentityFromElement(element: Element): WorkDocumentParagraphIdentity | null; export declare function applyDocumentParagraphIdentityToElement(element: Element, source: WorkDocumentParagraphIdentitySource): WorkDocumentParagraphIdentity | null; export declare function uniqueDocumentParagraphIdentity(source: WorkDocumentParagraphIdentitySource, registry: WorkDocumentParagraphIdentityRegistry): WorkDocumentParagraphIdentity; export declare function createDocumentParagraphIdentity(): WorkDocumentParagraphIdentity; export {};