/** `application/octet-stream` for anything unrecognised. */ export declare function mimeFor(assetPath: string): string; /** * Whether a browser will render this as a picture. Drives the file browser's * choice between a thumbnail and a type badge — an `` pointed at a PDF * renders as a broken image, which is what it used to do for every * non-image in the media folder. */ export declare function isImageMime(mimeType: string | undefined): boolean; /** * A file extension for a media type — the reverse of the table above, derived * from it rather than written twice so the two cannot drift. * * Where several extensions share a type the FIRST in the table wins, which is * why the table lists the canonical spelling first (`.jpg` before `.jpeg`). * Returns an empty string for an unrecognised type, so callers can decide * whether a name without an extension is acceptable. */ export declare function extensionForMime(mimeType: string | undefined): string;