1 | declare module "querystring" {
|
2 | interface StringifyOptions {
|
3 | encodeURIComponent?: Function;
|
4 | }
|
5 |
|
6 | interface ParseOptions {
|
7 | maxKeys?: number;
|
8 | decodeURIComponent?: Function;
|
9 | }
|
10 |
|
11 | interface ParsedUrlQuery { [key: string]: string | string[]; }
|
12 |
|
13 | function stringify(obj?: {}, sep?: string, eq?: string, options?: StringifyOptions): string;
|
14 | function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
|
15 | function escape(str: string): string;
|
16 | function unescape(str: string): string;
|
17 | }
|