import { CodeEditorConfig, AutocompleteSchema, ValidationConfig } from '../../editors/types';
export interface CodeEditorProps extends Omit<CodeEditorConfig, 'container' | 'value' | 'onChange'> {
    /** Uncontrolled initial value. Ignored once `value` is provided. */
    defaultValue?: string;
    /** Controlled value. When provided the editor reflects this string. */
    value?: string;
    /** Fires on every user-initiated change. Required for controlled mode. */
    onChange?: (value: string) => void;
    className?: string;
}
export type { AutocompleteSchema, ValidationConfig };
declare function CodeEditor({ defaultValue, value, onChange, className, ...config }: CodeEditorProps): import("react/jsx-runtime").JSX.Element;
declare namespace CodeEditor {
    var displayName: string;
}
export { CodeEditor };
//# sourceMappingURL=code-editor.d.ts.map