RockPaperScissors/node_modules/fetch-blob/from.d.ts
2021-12-02 17:22:41 +01:00

24 lines
743 B
TypeScript

export default blobFromSync;
/**
* @param {string} path filepath on the disk
* @param {string} [type] mimetype to use
*/
export function blobFromSync(path: string, type?: string): Blob;
import File from "./file.js";
import Blob from "./index.js";
/**
* @param {string} path filepath on the disk
* @param {string} [type] mimetype to use
*/
export function blobFrom(path: string, type?: string): any;
/**
* @param {string} path filepath on the disk
* @param {string} [type] mimetype to use
*/
export function fileFrom(path: string, type?: string): any;
/**
* @param {string} path filepath on the disk
* @param {string} [type] mimetype to use
*/
export function fileFromSync(path: string, type?: string): File;
export { File, Blob };