import WhatwgMIMEType from "whatwg-mimetype";
export declare class MediaType {
    readonly type: string;
    readonly subtype: string;
    readonly essence: string;
    readonly parameters: WhatwgMIMEType.MIMETypeParameters;
    private mimeType;
    private input;
    private constructor();
    static APPLICATION_JSON: string;
    static APPLICATION_OCTET_STREAM: string;
    static MULTIPART_FORM_DATA: string;
    static parse(input: string | null | undefined): MediaType | null;
    toString(): string;
    /** Types */
    isText(): boolean;
    isImage(): boolean;
    isAudio(): boolean;
    isVideo(): boolean;
    isFont(): boolean;
    isMultipart(): boolean;
    isApplication(): boolean;
    isMessage(): boolean;
    isModel(): boolean;
    /** Text */
    isCSS(): boolean;
    isCSV(): boolean;
    isMarkdown(): boolean;
    isPlainText(): boolean;
    isEventStream(): boolean;
    /** Multipart */
    isMultiPartFormData(): boolean;
    /** Application */
    isJSON(): boolean;
    containsJSON(): boolean;
    isURLEncoded(): boolean;
    isOctetStream(): boolean;
    isPDF(): boolean;
    isZip(): boolean;
    isGzip(): boolean;
    isTar(): boolean;
    isBrotli(): boolean;
    isDeflate(): boolean;
    isProtobuf(): boolean;
    /** Images */
    isAvif(): boolean;
    isWebP(): boolean;
    isSVG(): boolean;
    isPNG(): boolean;
    isJPEG(): boolean;
    isGIF(): boolean;
    /** Audio */
    isMPEG(): boolean;
    isWAV(): boolean;
    /** Mixed */
    isHTML(): boolean;
    isXML(): boolean;
    isJavaScript(): boolean;
}
//# sourceMappingURL=MediaType.d.ts.map