/** * A `Blob` subclass which also keeps a synchronously-readable copy of its * content (accessible only via `getSyncBytes`, not as a property of the * instance itself), for environments (e.g. Node without jsdom) where * `Blob` alone offers no synchronous way to read it back. */ export class SyncBlob extends Blob { /** * @param {(string|ArrayBuffer|ArrayBufferView|Blob)[]} [parts] * @param {BlobPropertyBag} [options] */ constructor(parts?: (string | ArrayBuffer | ArrayBufferView | Blob)[], options?: BlobPropertyBag); } /** * `File` counterpart to `SyncBlob` -- see its documentation for why this * exists. */ export class SyncFile extends File { /** * @param {(string|ArrayBuffer|ArrayBufferView|Blob)[]} parts * @param {string} name * @param {FilePropertyBag} [options] */ constructor(parts: (string | ArrayBuffer | ArrayBufferView | Blob)[], name: string, options?: FilePropertyBag); } /** * @param {Blob} blob A `SyncBlob`/`SyncFile` (or any `Blob`/`File` this * module has otherwise recorded bytes for). * @returns {Buffer|undefined} `undefined` if `blob` isn't one this module * has a synchronous copy for. */ export function getSyncBytes(blob: Blob): Buffer | undefined; //# sourceMappingURL=SyncBlobFile.d.ts.map