1 | type TypeMap = {
|
2 | [key: string]: string[];
|
3 | };
|
4 | export default class Mime {
|
5 | #private;
|
6 | constructor(...args: TypeMap[]);
|
7 | define(typeMap: TypeMap, force?: boolean): this;
|
8 | getType(path: string): string | null;
|
9 | getExtension(type: string): string | null;
|
10 | getAllExtensions(type: string): Set<string> | null;
|
11 | _freeze(): this;
|
12 | _getTestState(): {
|
13 | types: Map<string, string>;
|
14 | extensions: Map<string, string>;
|
15 | };
|
16 | }
|
17 | export {};
|