// Type definitions for extract-files 8.1 // Project: https://github.com/jaydenseric/extract-files#readme // Definitions by: Edward Sammut Alessi // Alex K // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface ReactNativeFileOptions { uri: string; type?: string | undefined; name?: string | undefined; } export class ReactNativeFile { uri: string; type?: string | undefined; name?: string | undefined; constructor(options: ReactNativeFileOptions); } export type ExtractableFile = File | Blob | ReactNativeFile; export function isExtractableFile(value: any): value is ExtractableFile; export function extractFiles( value: any, path?: string, isExtractableFile?: (value: any) => value is TFile, ): { clone: any; files: Map; };