/** * ファイルパス(またはファイル名)から MIME タイプを推定する。 * 未知の拡張子は `application/octet-stream` を返す。 */ export declare function guessContentType(filenameOrExt: string): string; export declare function isTextExtension(ext: string): boolean; export declare function isTextMime(contentType: string): boolean; /** MIME タイプが画像か判定する */ export declare function isImageMime(contentType: string): boolean; //# sourceMappingURL=content-type.d.ts.map