/// /// import { ReadStream } from 'fs'; import { Transform } from 'stream'; import { AxiosRequestConfig } from 'axios'; /** * @hidden * @ignore */ export interface ResponseObject { msg: string; errorCode: number; } /** * @hidden * @ignore */ export declare function asyncForEachKey(object: Array, callback: (key: any, object: any) => any): Promise; /** * @hidden * @ignore */ export declare function asyncForEachMap(map: Map, callback: (key: any, value: any) => any): Promise; /** * @hidden * @ignore */ export declare function executeRequest(options: AxiosRequestConfig): Promise; /** * @hidden * @ignore */ export declare function asyncForEach(array: any[], callback: (object: any, index: number, array: any[]) => any): Promise; export declare function asyncFind(array: any[], callback: (object: any, index: number, array: any[]) => Promise): Promise; /** * @hidden * @ignore */ export declare function getBearerAuth(secret: string, refreshToken: string): Promise; /** * @hidden * @ignore */ export declare function getBasicAuth(username: string, secret: string): string; /** * @hidden * @ignore */ export declare function executeRequestWithPaging(options: AxiosRequestConfig, inoutStream: Transform, dataObjKey: string, errMsg: string): void; export declare function getFileContent(filePath: string): ReadStream; export declare function getFileName(filePath: string): string;