UNPKG

jupyterlab-emrys

Version:

A computational environment for Jupyter. Powered by Emrys

39 lines (38 loc) 1.18 kB
import { ServiceManager } from 'jupyter-js-services'; import { DocumentRegistry } from '../docregistry'; import { Application } from 'phosphide/lib/core/application'; import { IChangedArgs } from 'phosphor-properties'; import { ISignal } from 'phosphor-signaling'; import { MainMenu } from '../mainmenu/plugin'; /** * A class that tracks the current path of the file browser. */ export declare class PathTracker { /** * A signal emitted when the current path changes. */ pathChanged: ISignal<PathTracker, IChangedArgs<string>>; /** * The current path of the filebrowser. * * #### Notes * This is a read-only property. */ path: string; } /** * The default file browser provider. */ export declare const fileBrowserProvider: { id: string; provides: typeof PathTracker; resolve: () => PathTracker; }; /** * The default file browser extension. */ export declare const fileBrowserExtension: { id: string; requires: (typeof ServiceManager | typeof DocumentRegistry | typeof MainMenu)[]; activate: (app: Application, manager: ServiceManager, registry: DocumentRegistry, mainMenu: MainMenu) => void; };