import { type VariableViewMode } from "@/components/TemplateEditor/store"; import type { TiptapDoc } from "@/types"; import type { Editor } from "@tiptap/core"; export interface EmailEditorProps { value?: TiptapDoc; readOnly?: boolean; subject?: string | null; variables?: Record; disableVariablesAutocomplete?: boolean; variableViewMode?: VariableViewMode; onDestroy?: () => void; onUpdate?: (editor: Editor) => void; } declare const EmailEditor: ({ value, readOnly, onDestroy, onUpdate, subject: propSubject, variables, disableVariablesAutocomplete, variableViewMode, }: EmailEditorProps) => import("react/jsx-runtime").JSX.Element; export default EmailEditor;