/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { ABuffer } from "../buffer/ABuffer"; import { AList } from "../collection/AList"; import { ALong } from "../runtime/ALong"; import { FileContent } from "./FileContent"; import { FileRange } from "./FileRange"; /** * Class FileStorage defines access methods to file content in a certain file storage account. */ /** @internal */ export declare class FileStorage { /** * Create new storage. */ constructor(); /** * Close the storage. */ close(): void; /** * Print (and optionally clear) file access statistics. */ printStatistics(clear: boolean): void; /** * Get the length of a file (returns -1 if the file is not found). */ getFileLength(fileName: string): Promise; /** * Read some parts of a file. */ readFileParts(fileName: string, ranges: AList): Promise>; /** * Read a part of a file. */ readFilePart(fileName: string, offset: ALong, size: int32): Promise; /** * Write a file. */ writeFile(fileName: string, fileContent: ABuffer): Promise; } export {}; //# sourceMappingURL=FileStorage.d.ts.map