/** @packageDocumentation * @module OrbitGT */ import { ABuffer } from "../buffer/ABuffer"; import { AList } from "../collection/AList"; import { ALong } from "../runtime/ALong"; import { FileContent } from "./FileContent"; import { FileRange } from "./FileRange"; import { FileStorage } from "./FileStorage"; declare type int32 = number; /** * Class NodeFS provides access to files using the Node platform. */ /** @internal */ export declare class NodeFS extends FileStorage { /** * Create new storage. */ constructor(); /** * FileStorage method. */ close(): void; /** * FileStorage method. */ getFileLength(fileName: string): Promise; /** * FileStorage method. */ readFilePart(fileName: string, offset: ALong, size: int32): Promise; /** * FileStorage method. */ readFileParts(fileName: string, ranges: AList): Promise>; /** * FileStorage method. */ writeFile(fileName: string, fileContent: ABuffer): Promise; } export {}; //# sourceMappingURL=NodeFS.d.ts.map