import { EditorView } from "@codemirror/view";
import { Extension } from "@codemirror/state";
import { Keymap } from "../types";
import { Clipboard, Config, IMapping } from "./vim";
export interface SpecialKeymapConfiguration {
    keymap?: Keymap;
    vimOptions?: VimOptions;
}
export declare function keymap(config?: SpecialKeymapConfiguration): Extension;
/**
 * Apply a keymap (vim, emacs, etc.) to the editor
 */
export declare function applyKeymap(view: EditorView, keymap: Keymap, options?: VimOptions): void;
export interface VimOptions {
    config?: Config;
    keymaps?: IMapping[];
    clipboard?: Clipboard;
}
