interface FunctionConfig { asyncFunction: (...args: any[]) => Promise; timeout: number; origThis?: any; loggingInfo: string; onTimeoutError?: Function; } export declare function withTimeoutAsync({ asyncFunction, timeout, origThis, loggingInfo, onTimeoutError }: FunctionConfig): (...args: any[]) => Promise; export {};