export type WorkDocumentTextCase = 'none' | 'all-caps' | 'small-caps'; export type DocumentSelectionCase = 'lower' | 'upper' | 'title'; export declare const DOCUMENT_TEXT_CASE_ATTRIBUTE = "data-office-text-case"; export declare const documentTextCaseKeyboardShortcuts: { readonly allCaps: "Mod-Shift-a"; readonly smallCaps: "Mod-Shift-k"; /** WPS/Word Shift+F3: cycle selected text lower → UPPER → Title. */ readonly changeCase: "Shift-F3"; }; export declare function normalizeDocumentTextCase(value: unknown): WorkDocumentTextCase | null; export declare function documentTextCaseFromWordFlags(allCaps: boolean | undefined, smallCaps: boolean | undefined): WorkDocumentTextCase | null; export declare function applyDocumentTextCaseStyle(element: HTMLElement, textCase: WorkDocumentTextCase): void; export declare function documentTextCaseCss(textCase: WorkDocumentTextCase): string; export declare function detectDocumentSelectionCase(text: string): DocumentSelectionCase; export declare function nextDocumentSelectionCase(current: DocumentSelectionCase): DocumentSelectionCase; export declare function transformDocumentSelectionCase(text: string, next: DocumentSelectionCase): string; export declare function cycleDocumentSelectionCaseText(text: string): string;