interface User { i: number; UserName: string; cookie: string; UserAgent: string; } declare class JDHelloWorld { scriptName: string; constructor(scriptName?: string); getCookie(check?: boolean): Promise; checkCookie(cookie: string): Promise; exceptCookie(filename?: string): any; get(url: string, headers?: any): Promise; post(url: string, data: any, headers?: any): Promise; wait(ms?: number): Promise; o2s(obj: object, title?: string): void; run(son: { main: Function; }): Promise; } export { User, JDHelloWorld };