import type { Editor } from '@tiptap/core'; import { type WorkDocumentProofingLanguageSlot } from '../work-document-proofing'; export interface DocumentProofingDialogValue { mixed: boolean; value: T | null; } export interface DocumentProofingDialogSource { latin: DocumentProofingDialogValue; eastAsia: DocumentProofingDialogValue; bidi: DocumentProofingDialogValue; noProof: DocumentProofingDialogValue; selectedCharacters: number; } export interface DocumentProofingDialogPatch { languages?: Partial>; noProof?: boolean | null; } export declare function documentProofingDialogSource(editor: Editor): DocumentProofingDialogSource; export declare function applyDocumentProofingDialogPatch(editor: Editor, selection: { from: number; to: number; }, patch: DocumentProofingDialogPatch): boolean;