import { CancellationToken , ConfigurationChangeEvent , Event , FileSystemWatcher , GlobPattern , Uri , WorkspaceConfiguration , WorkspaceFolder , WorkspaceFoldersChangeEvent , } from 'vscode' ; export const IWorkspaceService = Symbol . for ( 'IWorkspace' ) ; export interface IWorkspaceService { readonly readonly workspaceFolders : ReadonlyArray < WorkspaceFolder > | undefined ; /**
     * An event that is emitted when a workspace folder is added or removed.
     */ readonly onDidChangeWorkspaceFolders : Event < WorkspaceFoldersChangeEvent > ; /**
     * An event that is emitted when the [configuration](#WorkspaceConfiguration) changed.
     */ readonly onDidChangeConfiguration : Event < ConfigurationChangeEvent > ; param pathOrUri param includeWorkspaceFolder return asRelativePath ( pathOrUri , includeWorkspaceFolder ? ) : string ; param globPattern param ignoreCreateEvents param ignoreChangeEvents param ignoreDeleteEvents return createFileSystemWatcher ( globPattern , ignoreCreateEvents ? , ignoreChangeEvents ? , ignoreDeleteEvents ? ) : FileSystemWatcher ; sample param include param exclude param maxResults param token return findFiles ( include , exclude ? , maxResults ? , token ? ) : Thenable < Uri [ ] > ; param section param resource return getConfiguration ( section ? , resource ? ) : WorkspaceConfiguration ; }