export declare function retry(options: { func: () => R; times: number; errCb?: (e: any) => void; isAsync?: boolean; }): () => R; export declare function retry(options: { func: (t: T) => R; times: number; errCb?: (e: any) => void; isAsync?: boolean; }): (t: T) => R; export declare function retry(options: { func: (t1: T1, t2: T2) => R; times: number; errCb?: (e: any) => void; isAsync?: boolean; }): (t1: T1, t2: T2) => R; export declare function retry(options: { func: (t1: T1, t2: T2, t3: T3) => R; times: number; errCb?: (e: any) => void; isAsync?: boolean; }): (t1: T1, t2: T2, t3: T3) => R; export declare function retry(options: { func: (t1: T1, t2: T2, t3: T3, t4: T4) => R; times: number; errCb?: (e: any) => void; isAsync?: boolean; }): (t1: T1, t2: T2, t3: T3, t4: T4) => R;