import type { Editor } from 'codemirror'; export declare type CodeMirrorType = typeof import('codemirror'); export declare type CodeMirrorEditor = Editor & { options?: any; }; export declare type KeyMap = 'sublime' | 'emacs' | 'vim'; export declare type CommonEditorProps = { /** * Sets the color theme you want to use for the editor. * @default 'graphiql' */ editorTheme?: string; /** * Sets the key map to use when using the editor. * @default 'sublime' * @see {@link https://codemirror.net/5/doc/manual.html#keymaps} */ keyMap?: KeyMap; }; export declare type WriteableEditorProps = CommonEditorProps & { /** * Makes the editor read-only. * @default false */ readOnly?: boolean; };