1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | import Raven from 'raven';
|
23 | import { FileBox, MemoryCard, log } from 'wechaty-puppet';
|
24 | import { PuppetModuleName } from './puppet-config';
|
25 | import { VERSION } from './version';
|
26 | export interface DefaultSetting {
|
27 | DEFAULT_PORT: number;
|
28 | DEFAULT_APIHOST: string;
|
29 | DEFAULT_PROTOCOL: string;
|
30 | }
|
31 | export declare class Config {
|
32 | default: DefaultSetting;
|
33 | apihost: string;
|
34 | serviceIp: string;
|
35 | systemPuppetName(): PuppetModuleName;
|
36 | name: string | undefined;
|
37 | token: string | undefined;
|
38 | debug: boolean;
|
39 | httpPort: string | number;
|
40 | docker: boolean;
|
41 | constructor();
|
42 | validApiHost(apihost: string): boolean;
|
43 | }
|
44 | export declare const CHATIE_OFFICIAL_ACCOUNT_ID = "gh_051c89260e5d";
|
45 | export declare function qrCodeForChatie(): FileBox;
|
46 | export declare const FOUR_PER_EM_SPACE: string;
|
47 | export declare const AT_SEPARATOR_REGEX: RegExp;
|
48 | export declare function qrcodeValueToImageUrl(qrcodeValue: string): string;
|
49 | export declare function isProduction(): boolean;
|
50 | declare const looseInstanceOfFileBox: (o: any) => o is FileBox;
|
51 | export { log, FileBox, MemoryCard, Raven, looseInstanceOfFileBox, VERSION, };
|
52 | export declare const config: Config;
|
53 |
|
\ | No newline at end of file |