browserfs
Version:
A filesystem in your browser!
18 lines (17 loc) • 956 B
TypeScript
import buffer = require('buffer');
import fs = require('./node_fs');
import path = require('path');
import file_system = require('./file_system');
import EmscriptenFS from '../generic/emscripten_fs';
import * as FileSystem from './backends';
import * as BFSUtils from './util';
export declare function install(obj: any): void;
export declare function registerFileSystem(name: string, fs: file_system.FileSystemConstructor): void;
export declare function BFSRequire(module: 'fs'): typeof fs;
export declare function BFSRequire(module: 'path'): typeof path;
export declare function BFSRequire(module: 'buffer'): typeof buffer;
export declare function BFSRequire(module: 'process'): typeof process;
export declare function BFSRequire(module: 'bfs_utils'): typeof BFSUtils;
export declare function BFSRequire(module: string): any;
export declare function initialize(rootfs: file_system.FileSystem): file_system.FileSystem;
export { EmscriptenFS, FileSystem };