import { Disposable , TextEditor , TextEditorEdit } from 'vscode' ; export const ICommandManager = Symbol . for ( 'ICommandManager' ) ; export interface ICommandManager { param command param callback param thisArg return registerCommand ( command , callback , thisArg ? ) : Disposable ; param command param callback param thisArg return registerTextEditorCommand ( command , callback , thisArg ? ) : Disposable ; param command param rest return executeCommand < T > ( command , ... rest ) : Thenable < T | undefined > ; param filterInternal return getCommands ( filterInternal ? ) : Thenable < string [ ] > ; }