import { CSSProperties, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from 'react'; import { FlexboxProps } from 'react-layout-kit'; export interface CodeEditorProps extends Omit { autoFocus?: boolean; classNames?: { highlight?: string; textarea?: string; }; disabled?: boolean; fontSize?: number | string; form?: string; ignoreTabKey?: boolean; insertSpaces?: boolean; language: string; maxLength?: number; minLength?: number; onBlur?: FocusEventHandler; onClick?: MouseEventHandler; onFocus?: FocusEventHandler; onKeyDown?: KeyboardEventHandler; onKeyUp?: KeyboardEventHandler; onValueChange: (value: string) => void; placeholder?: string; readOnly?: boolean; required?: boolean; style?: CSSProperties; styles?: { highlight?: CSSProperties; textarea?: CSSProperties; }; tabSize?: number; textareaId?: string; value: string; variant?: 'ghost' | 'block' | 'pure'; } type Record = { selectionEnd: number; selectionStart: number; value: string; }; type History = { offset: number; stack: (Record & { timestamp: number; })[]; }; export declare const CodeEditor: import("react").ForwardRefExoticComponent & import("react").RefAttributes>>; export {};