import { TimelinePipe } from "@pnp/core"; import { Queryable } from "@pnp/queryable"; import { _SPInstance } from "../spqueryable.js"; export interface IResponseBodyStream { body: ReadableStream; knownLength: number; } export declare function StreamParse(): TimelinePipe; export declare class ReadableFile extends _SPInstance { /** * Gets the contents of the file as text. Not supported in batching. * */ getText(): Promise; /** * Gets the contents of the file as a blob, does not work in Node.js. Not supported in batching. * */ getBlob(): Promise; /** * Gets the contents of a file as an ArrayBuffer, works in Node.js. Not supported in batching. */ getBuffer(): Promise; /** * Gets the contents of a file as an ArrayBuffer, works in Node.js. Not supported in batching. */ getJSON(): Promise; /** * Gets the content of a file as a ReadableStream * */ getStream(): Promise; private getParsed; } //# sourceMappingURL=readable-file.d.ts.map