import { type Editor } from '@tiptap/core'; import { type DocxThemeColorReference } from './work-docx-theme-reference'; export declare const workDocumentUnderlineStyles: readonly ["none", "single", "words", "double", "thick", "dotted", "dottedHeavy", "dash", "dashedHeavy", "dashLong", "dashLongHeavy", "dotDash", "dashDotHeavy", "dotDotDash", "dashDotDotHeavy", "wave", "wavyHeavy", "wavyDouble"]; export type WorkDocumentUnderlineStyle = (typeof workDocumentUnderlineStyles)[number]; export interface WorkDocumentUnderlineFormatting { style: WorkDocumentUnderlineStyle; color?: string; themeColor?: DocxThemeColorReference; } export interface WorkDocumentUnderlineCommandOptions { color?: string | null; themeColor?: DocxThemeColorReference | string | null; } export declare const DOCUMENT_UNDERLINE_STYLE_ATTRIBUTE = "data-office-underline-style"; export declare const DOCUMENT_UNDERLINE_COLOR_ATTRIBUTE = "data-office-underline-color"; export declare const DOCUMENT_UNDERLINE_THEME_COLOR_ATTRIBUTE = "data-office-underline-theme-color"; export declare const documentUnderlineKeyboardShortcuts: { readonly double: "Mod-Shift-d"; readonly words: "Mod-Shift-w"; }; declare module '@tiptap/core' { interface Commands { documentUnderline: { setDocumentUnderline: (style: WorkDocumentUnderlineStyle, options?: WorkDocumentUnderlineCommandOptions) => ReturnType; setDocumentUnderlineColor: (color: string | null, themeColor?: DocxThemeColorReference | string | null) => ReturnType; toggleDocumentUnderlineStyle: (style: Exclude) => ReturnType; }; } } export declare const DocumentUnderline: import("@tiptap/core").Mark; export declare function normalizeDocumentUnderlineStyle(value: unknown): WorkDocumentUnderlineStyle | null; export declare function normalizeDocumentUnderlineColor(value: unknown): string | null; export declare function documentUnderlineStyle(editor: Editor): WorkDocumentUnderlineStyle; export declare function documentUnderlineColor(editor: Editor): string | null; export declare function documentUnderlineFormatting(editor: Editor): WorkDocumentUnderlineFormatting | null; export declare function documentUnderlineFormattingFromElement(element: HTMLElement): WorkDocumentUnderlineFormatting | null; export declare function documentUnderlineDomAttributes(formatting: WorkDocumentUnderlineFormatting): Record;