export type MimeSubtype = `${string}-${string}`; export type SUIMimeType = `${string}/${string}`; export type Ext = `.${string}`; export type AcceptType = { MimeType: Ext; }; export interface IMimeType { get type(): SUIMimeType; get subType(): MimeSubtype; get name(): string; get application(): string; get ext(): Ext; get description(): string; get embedded(): boolean; get accept(): AcceptType; get typeObj(): { type: SUIMimeType; }; } export declare class MimeRegistry { static get exts(): Record<`.${string}`, IMimeType>; private static _exts; static get names(): Record; private static _names; static get subtypes(): Record<`${string}-${string}`, IMimeType>; private static _subtypes; static get types(): Record<`${string}/${string}`, IMimeType>; private static _types; static create(application: string, name: string, ext: Ext, description: string, embedded?: boolean, type?: string): IMimeType; } export declare function getExtension(url: string): string;