import { Plugin } from '@tiptap/pm/state'; export interface WorkDocumentImageIdentity { objectId: string; docPropertiesId: number; anchorId: string; editId: string; } export interface WorkDocumentImageIdentitySource { objectId?: unknown; docPropertiesId?: unknown; anchorId?: unknown; editId?: unknown; } export interface WorkDocumentImageIdentityRegistry { objectIds: Set; docPropertiesIds: Set; anchorIds: Set; } export declare function createDocumentImageIdentityRegistry(): WorkDocumentImageIdentityRegistry; export declare function normalizeDocumentImageObjectId(value: unknown): string | null; export declare function normalizeDocumentImageDocPropertiesId(value: unknown): number | null; export declare function normalizeDocumentImageAnchorId(value: unknown): string | null; export declare function normalizeDocumentImageEditId(value: unknown): string | null; export declare function normalizeDocumentImageIdentity(source: WorkDocumentImageIdentitySource): WorkDocumentImageIdentity | null; export declare function createDocumentImageIdentity(): WorkDocumentImageIdentity; export declare function uniqueDocumentImageIdentity(source: WorkDocumentImageIdentitySource, registry: WorkDocumentImageIdentityRegistry): WorkDocumentImageIdentity; export declare function documentImageIdentityFromAttributes(attributes: Record): WorkDocumentImageIdentity | null; export declare function documentImageIdentityFromElement(element: Element): WorkDocumentImageIdentity; export declare function applyDocumentImageIdentityToElement(element: Element, source: WorkDocumentImageIdentitySource): WorkDocumentImageIdentity; export declare function createDocumentImageIdentityPlugin(imageNodeName?: string): Plugin;