import * as monaco from 'monaco-editor'; import type { Situation } from '../parser/types'; import type { LabelMatcher } from '../types'; export interface BuildCompletionsArgs { situation: Situation; range: monaco.IRange; variables: string[]; currentMatchers: LabelMatcher[]; fetchLabelNames?: (currentMatchers: LabelMatcher[]) => Promise; fetchLabelValues?: (labelName: string, currentMatchers: LabelMatcher[]) => Promise; } export declare function buildCompletions(args: BuildCompletionsArgs): Promise;