@kui-shell/plugin-core-support
Version:
Kui plugin offering core extensions such as help and screenshot commands
15 lines (14 loc) • 537 B
TypeScript
import { TrieVFS, VFS } from '@kui-shell/plugin-bash-like/fs';
type NotebookLeaf = TrieVFS.Leaf<{
srcFilepath: string;
}>;
export declare class NotebookVFS extends TrieVFS.TrieVFS<NotebookLeaf['data']> implements VFS {
protected viewer(): string;
protected nameForDisplay(name: string): Promise<string>;
protected loadAsString(leaf: NotebookLeaf): Promise<string>;
/** Load Notebook data from bundles */
private load;
}
declare const vfs: NotebookVFS;
export default vfs;
export declare function preload(): void;