1 | export declare const nextTick: (callback: Function, ...args: any[]) => void;
|
2 | export declare const globalThisShim: typeof globalThis;
|
3 | export declare const defaultBinaryType = "nodebuffer";
|
4 | export declare function createCookieJar(): CookieJar;
|
5 | interface Cookie {
|
6 | name: string;
|
7 | value: string;
|
8 | expires?: Date;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 | export declare function parse(setCookieString: string): Cookie;
|
14 | export declare class CookieJar {
|
15 | private _cookies;
|
16 | parseCookies(values: string[]): void;
|
17 | get cookies(): IterableIterator<[string, Cookie]>;
|
18 | addCookies(xhr: any): void;
|
19 | appendCookies(headers: Headers): void;
|
20 | }
|
21 | export {};
|