import type { Extension, EditorState, StateEffect } from '@codemirror/state'; import type { KeyBinding } from '@codemirror/view'; import type { Completion } from './completion.js'; import type { CompletionConfig } from './config.js'; export * from './snippet.js'; export * from './completion.js'; export * from './view.js'; export * from './word.js'; export * from './closebrackets.js'; export declare function autocompletion(config?: CompletionConfig): Extension; export declare const completionKeymap: readonly KeyBinding[]; export declare function completionStatus(state: EditorState): null | 'active' | 'pending'; export declare function currentCompletions(state: EditorState): readonly Completion[]; export declare function selectedCompletion(state: EditorState): Completion | null; export declare function selectedCompletionIndex(state: EditorState): number | null; export declare function setSelectedCompletion(index: number): StateEffect; //# sourceMappingURL=index.d.ts.map