import { Extension } from '@codemirror/state';
export interface MinimalSetupOptions {
    highlightSpecialChars?: boolean;
    history?: boolean;
    drawSelection?: boolean;
    syntaxHighlighting?: boolean;
    defaultKeymap?: boolean;
    historyKeymap?: boolean;
}
export interface BasicSetupOptions extends MinimalSetupOptions {
    lineNumbers?: boolean;
    highlightActiveLineGutter?: boolean;
    foldGutter?: boolean;
    dropCursor?: boolean;
    allowMultipleSelections?: boolean;
    indentOnInput?: boolean;
    bracketMatching?: boolean;
    closeBrackets?: boolean;
    autocompletion?: boolean;
    rectangularSelection?: boolean;
    crosshairCursor?: boolean;
    highlightActiveLine?: boolean;
    highlightSelectionMatches?: boolean;
    closeBracketsKeymap?: boolean;
    searchKeymap?: boolean;
    foldKeymap?: boolean;
    completionKeymap?: boolean;
    lintKeymap?: boolean;
    tabSize?: number;
    readonly?: boolean;
    enableSearch?: boolean;
}
export declare const isValidSetup: (item: any) => any;
export declare const basicSetup: (options?: BasicSetupOptions) => Extension[];
