interface User { index: number; UserName: string; cookie: string; UserAgent: string; end?: boolean; } declare class JDHelloWorld { scriptName: string; cookiesArr: string[]; users: User[]; constructor(scriptName?: string); getCookie(): Promise; exceptCookie(filename?: string): string[]; get(url: string, headers?: any): Promise; post(url: string, data: any, headers?: any, params?: object): Promise; wait(ms?: number): Promise; o2s(obj: object, title?: string): void; getShareCodePool(key: string, num: number): Promise; getshareCodeHW(key: string): Promise; getRandomNumberByRange(start: number, end: number): number; getRandomNumString(e: number): string; getEncStr(fn: string, body: { id?: number; taskType?: number; }): object; getSign(fn: string, body: object): Promise; cashDoSign(): Promise; run(son: { main: any; help?: any; tips?: any; }, help?: Function, tips?: Function): Promise; } export { User, JDHelloWorld };