import type { ReactElement } from 'react';
import type { EmailVariableDto } from '@/services/api/communicationsApi';
interface EmailEditorProps {
    readonly content: string;
    readonly onChange: (html: string) => void;
    readonly placeholder?: string;
    readonly onInsertVariable?: (varName: string) => void;
    readonly className?: string;
    /**
     * When provided, enables the "/" slash command in the editor to insert template
     * variables via an autocomplete popover. The list is read on every suggestion
     * filter — keep the reference stable to avoid re-creating the extension.
     */
    readonly variables?: EmailVariableDto[];
}
export declare function EmailEditor({ content, onChange, placeholder, className, variables }: EmailEditorProps): ReactElement;
export declare function insertEmailVariable(varName: string): void;
export default EmailEditor;
//# sourceMappingURL=EmailEditor.d.ts.map