import * as vscode from 'vscode' ; import { BlockchainTreeItem } from './model/BlockchainTreeItem' ; export interface BlockchainExplorerProvider extends vscode . TreeDataProvider < BlockchainTreeItem > { refresh ( element ? ) : Promise < void > ; }