UNPKG

@googleforcreators/media

Version:

Functionality for creating and working with media resources in the Web Stories editor.

10 lines 299 B
/** * Helper to get remote file using fetch. * * @param url URL of file. * @param mimeType Mime type of file. * @return File object. */ declare function fetchRemoteFile(url: string, mimeType: string): Promise<File>; export default fetchRemoteFile; //# sourceMappingURL=fetchRemoteFile.d.ts.map