/** * Because some runtime environments doesn't support the File * {@see https://developer.mozilla.org/en-US/docs/Web/API/File/File} object we create a File-like constructor. * This is just a simple class that also holds the name of the file. */ declare class FileLike { $$type: string; blob: Blob; name: string; constructor(blob: Blob, name: string); } declare const GeneratorFunction: Function; declare const AsyncGeneratorFunction: Function; export { AsyncGeneratorFunction, FileLike, GeneratorFunction };