import { type CompletionSource } from "@codemirror/autocomplete";
import { type Extension } from "@codemirror/state";
import { type EditorView } from "@codemirror/view";
/**
 * @internal
 */
export interface ISyntaxHighlightingInputProps {
    value: string;
    label?: string;
    disabled?: boolean;
    className?: string;
    placeholder?: string;
    beforeExtensions?: Extension[];
    extensions?: Extension[];
    onChange: (value: string) => void;
    onFocus?: (event: FocusEvent, view: EditorView) => void;
    onBlur?: (event: FocusEvent, view: EditorView) => void;
    onApi?: (view: EditorView | null) => void;
    onCursor?: (from: number, to: number) => void;
    onKeyDown?: (event: KeyboardEvent, view: EditorView) => boolean;
    autocompletion?: {
        whenTyping?: boolean;
        whenTypingDelay?: number;
        aboveCursor?: boolean;
    };
    onCompletion?: CompletionSource;
}
/**
 * @internal
 */
export declare function SyntaxHighlightingInput({ value, label, placeholder, autocompletion, onApi, onChange, onCursor, onKeyDown, onCompletion, onFocus, onBlur, className, beforeExtensions, extensions, disabled }: ISyntaxHighlightingInputProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SyntaxHighlightingInput.d.ts.map