import { CancellationToken } from 'vscode-languageserver' ; import { CompletionResults } from '../languageService/completionProvider' ; import { ParseResults } from '../parser/parser' ; export interface LanguageServiceExtension { readonly completionListExtension : CompletionListExtension ; } export interface CompletionListExtension { updateCompletionResults ( completionResults , parseResults , position , token ) : Promise < void > ; readonly commandPrefix : string ; executeCommand ( command , args , token ) : Promise < void > ; }