import type { EditorState, Transaction, StateCommand } from '@codemirror/state'; import { Facet } from '@codemirror/state'; import type { KeyBinding } from '@codemirror/view'; import type { Completion } from './completion.js'; export declare function snippet(template: string): (editor: { state: EditorState; dispatch: (tr: Transaction) => void; }, _completion: Completion, from: number, to: number) => void; export declare const clearSnippet: StateCommand; export declare const nextSnippetField: StateCommand; export declare const prevSnippetField: StateCommand; export declare const snippetKeymap: Facet; export declare function snippetCompletion(template: string, completion: Completion): Completion; //# sourceMappingURL=snippet.d.ts.map