export declare const extTypeMap: { '.png': string; '.gif': string; '.jpg': string; '.jpeg': string; '.bm': string; '.bmp': string; '.webp': string; '.ico': string; '.svg': string; }; export declare type ExtType = '.png' | '.gif' | '.jpg' | '.jpeg' | '.bm' | '.bmp' | '.webp' | '.ico' | '.svg'; export default function image2uri(file: string): string;