import type { Editor } from '@tiptap/core'; import type { SetImageOptions } from '@tiptap/extension-image'; import type { AlignmentAction, DetailsAction, ExportAction, FormatAction, LayoutAction, HeadingLevel, ImageFormat, ListAction, TableAction, TaskAction, VideoAction, InvisibleAction } from './types'; export declare function runAlignmentCommand(editor: Editor | null, alignment: AlignmentAction): void; export declare function runDetailsCommand(editor: Editor | null, action: DetailsAction): void; export declare function exportEditorContent(editor: Editor | null, format: ExportAction): string; export declare function setFontFamily(editor: Editor | null, fontFamily: string): void; export declare function setFontSize(editor: Editor | null, fontSize: string): void; export declare function removeFontSizeFormatting(editor: Editor | null): void; export declare function setTextColor(editor: Editor | null, color: string): void; export declare function removeTextColorFormatting(editor: Editor | null): void; type FormatCommand = (editor: Editor, options?: any) => void; export declare const formatCommands: Record; export declare function runFormatCommand(editor: Editor | null, format: FormatAction, options?: any): void; export declare function runHeadingCommand(editor: Editor | null, level: HeadingLevel | null): void; export declare function runImageCommand(editor: Editor | null, format: ImageFormat, options?: SetImageOptions): void; type InvisibleCommand = (editor: Editor, options?: any) => void; export declare const invisibleCommands: Record; export declare function runInvisibleCommand(editor: Editor | null, action: InvisibleAction): void; type LayoutCommand = (editor: Editor, options?: any) => void; export declare const layoutCommands: Record; export declare function runLayoutsCommand(editor: Editor | null, action: LayoutAction): void; export declare const runListCommand: (editor: Editor | null, format: ListAction) => void; type TableCommand = (editor: Editor) => void; export declare const tableCommands: Record; export declare function runTableCommand(editor: Editor | null, action: TableAction): void; type TaskCommand = (editor: Editor) => void; export declare const taskCommands: Record; export declare function runTaskCommand(editor: Editor | null, action: TaskAction): void; export type UndoRedoAction = 'undo' | 'redo'; export declare const undoRedoCommands: Record void>; export declare function runUndoRedoCommand(editor: Editor | null, action: UndoRedoAction): void; type VideoCommand = (editor: Editor, options?: { src: string; width?: number; height?: number; }) => void; export declare const videoCommands: Record; export declare function runVideoCommand(editor: Editor | null, format: VideoAction, options?: { src: string; width?: number; height?: number; }): void; export {};