1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | import * as Debug from 'debug';
|
17 | import * as https from 'https';
|
18 |
|
19 | export declare const debug: Debug.Debugger;
|
20 |
|
21 | export declare const warn: Debug.Debugger;
|
22 |
|
23 | export declare const error: (message?: any, ...optionalParams: any[]) => void;
|
24 |
|
25 | export declare const info: (message?: any, ...optionalParams: any[]) => void;
|
26 |
|
27 | export declare const deprecate: (feature: string, alternative: string) => void;
|
28 |
|
29 | export interface JsonObject {
|
30 | [key: string]: any;
|
31 | }
|
32 |
|
33 | export declare const values: <T>(o: {
|
34 | [key: string]: T;
|
35 | }) => T[];
|
36 |
|
37 | export declare const clone: <T>(o: T) => T;
|
38 |
|
39 | export declare const stringify: (root: any, ...exclude: string[]) => string;
|
40 |
|
41 | export declare type ProtoAny<TType, TSpec> = {
|
42 | '@type': TType;
|
43 | } & TSpec;
|
44 |
|
45 | export declare const toArray: <T>(a: T | T[]) => T[];
|
46 |
|
47 | export interface ApiClientObjectMap<TValue> {
|
48 | [key: string]: TValue;
|
49 | }
|
50 |
|
51 | export declare const request: typeof https.request;
|