import { default as React } from 'react';
import { VariantProps } from 'class-variance-authority';
declare const lexicalEditorVariants: (props?: ({
    variant?: "primary" | "secondary" | "ghost" | "surface" | null | undefined;
    shape?: "full" | "minimal" | "sharp" | null | undefined;
    shadow?: "sm" | "md" | "lg" | "none" | null | undefined;
    isInvalid?: boolean | null | undefined;
    disabled?: boolean | null | undefined;
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
export interface LexicalEditorProps extends VariantProps<typeof lexicalEditorVariants> {
    /** Placeholder text shown when empty */
    placeholder?: string;
    /** Markdown string to initialize the editor with */
    markdown?: string;
    /** Callback fired on every change, passing back pure markdown */
    onChange?: (markdown: string) => void;
    /** Puts the editor in read-only mode */
    readOnly?: boolean;
    className?: string;
    label?: string;
    description?: React.ReactNode;
    errorMessage?: React.ReactNode;
}
export declare const LexicalEditor: {
    ({ placeholder, markdown, onChange, readOnly, className, variant, shape, shadow, isInvalid, disabled, label, description, errorMessage, }: LexicalEditorProps): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export {};
