import { type ReactNode } from "react";
export type CodeEditorLanguage = "sql" | "json" | "javascript" | "typescript" | "yaml" | "plain";
export interface CodeEditorProps {
    value: string;
    onChange?: (value: string) => void;
    language?: CodeEditorLanguage;
    /** Read-only mode. */
    readOnly?: boolean;
    /** Hide the gutter (line numbers). */
    showLineNumbers?: boolean;
    /** Highlight the active line. */
    highlightActiveLine?: boolean;
    /** Number of spaces a Tab inserts. */
    tabSize?: number;
    /** Minimum height in pixels. */
    minHeight?: number;
    /** Maximum height in pixels. */
    maxHeight?: number;
    placeholder?: string;
    ariaLabel?: string;
    /** Optional toolbar slot above the editor. */
    toolbar?: ReactNode;
    /** Status pill on the right side of the toolbar. */
    status?: ReactNode;
    className?: string;
    /** Show built-in Copy button. Default true. */
    showCopy?: boolean;
    /** Show built-in Format button (JSON only by default). */
    showFormat?: boolean;
    /** Word wrap (controlled). */
    wordWrap?: boolean;
    /** Show built-in word-wrap toggle. Default true (only when uncontrolled). */
    showWordWrapToggle?: boolean;
    /** Enable auto-pair brackets and quotes. Default true. */
    autoPair?: boolean;
    /** Show character/selection counter at bottom. Default true. */
    showCounter?: boolean;
    /** Enable Cmd+F search bar. Default true. */
    searchable?: boolean;
    /** Form integration — passes through to the underlying <textarea>. */
    name?: string;
    /** Form attribute (for buttons rendered outside their parent form). */
    form?: string;
    /** Mark as required for native form validation. */
    required?: boolean;
    /** Native id (replaces the auto-generated one if you need to pair a
     * <label htmlFor> with this editor). */
    id?: string;
}
export declare const CodeEditor: import("react").ForwardRefExoticComponent<CodeEditorProps & import("react").RefAttributes<HTMLTextAreaElement>>;
//# sourceMappingURL=CodeEditor.d.ts.map