const openInEditorApi = { configure ( _opts , _cb ) { return null ; } , editors : { } as OpenInEditorDetections , } ; export interface OpenInEditorOptions { editor : string ; } export type OpenInEditorCallback = ( err : any ) => { } ; export interface OpenInEditorDetections { [ key ] : { detect ( ) : Promise < any > ; } ; } export default openInEditorApi ;