import type { VariableValidationConfig } from "@/types/validation.types"; import type { BrandEditorFormValues } from "../BrandEditor.types"; export interface EditorProps { hidePublish?: boolean; autoSaveDebounce?: number; autoSave?: boolean; templateEditor?: boolean; /** * Variables available for autocomplete suggestions. * When provided, typing {{ will show a dropdown with matching variables. */ variables?: Record; /** * When true, disables variable autocomplete and allows users to type any variable name. * When false (default), shows autocomplete dropdown with variables from the `variables` prop. * @default false */ disableVariablesAutocomplete?: boolean; /** * Configuration for custom variable validation. * Allows restricting which variable names are allowed and defining behavior on validation failure. */ variableValidation?: VariableValidationConfig; value?: BrandEditorFormValues; } export declare const Editor: import("react").MemoExoticComponent>>;