import type { Editor } from '@tiptap/core'; import type { EditorAction } from '../composables'; /** Actions that stay usable while the editor is in source mode. */ export declare const sourceModeEnabledActionIds: string[]; export declare function isEditorActionEnabled(action: EditorAction, editor: Editor | null | undefined, isSourceMode: boolean): boolean;