/** * 根据扩展名获取 MIME 类型 * * @param extensionOrPath - 扩展名或路径。如 .png zip xxx.dat * * @returns MIME。如 application/json text/plain */ export declare function getType(extensionOrPath: string): string | undefined /** * 根据 MIME 获取扩展名 * * @param type - MIME 类型。如 application/json text/plain * * @returns 扩展名。如 .json .txt */ export declare function getExtensions(type: string): string[] | undefined