import type { BufferEncoding, FilehandleOptions, GenericFilehandle, Stats } from './filehandle.ts'; /** * Blob of binary data fetched from a local file (with FileReader). * * Adapted by Robert Buels and Garrett Stevens from the BlobFetchable object in * the Dalliance Genome Explorer, which is copyright Thomas Down 2006-2011. */ export default class BlobFile implements GenericFilehandle { private blob; constructor(blob: Blob); read(length: number, position?: number): Promise>; readFile(options?: Omit): Promise>; readFile(options: BufferEncoding | (Omit & { encoding: BufferEncoding; })): Promise; stat(): Promise; close(): Promise; }