Files
vat-api.eu/node_modules/unenv/dist/runtime/node/internal/util/mime.d.mts
2026-02-13 22:02:30 +01:00

20 lines
568 B
TypeScript

import type { MIMEType as MIMETypeT, MIMEParams as MIMEParamsT } from "node:util";
// https://nodejs.org/api/util.html#class-utilmimetype
export declare class MIMEType implements MIMETypeT {
readonly __unenv__: true;
params;
type: string;
subtype: string;
constructor(input: string | {
toString: () => string;
});
get essence();
toString();
}
// https://nodejs.org/api/util.html#util_class_util_mimeparams
export declare class MIMEParams extends Map<string, string> implements MIMEParamsT {
readonly __unenv__: true;
get(name: string): any;
toString();
}