IThirdwebStorage
type IThirdwebStorage = { download: ( url: string, options?: SingleDownloadOptions, ) => Promise<Response>; downloadJSON: (url: string) => Promise<TJSON>; getGatewayUrls: () => GatewayUrls; resolveScheme: (url: string) => string; upload: (data: any, options?: {}) => Promise<string>; uploadBatch: ( data: Array<any>, options?: {}, ) => Promise<Array<string>>;};
function download( url: string,): Promise<Response>;
function downloadJSON<TJSON = any>(url: string): Promise<TJSON>;
function resolveScheme(url: string): string;
function upload(data: any, options?: {}): Promise<string>;
function uploadBatch( data: Array<any>, options?: {},): Promise<Array<string>>;