export declare const version = "1.0.0"; /** * Execute a designed function and capture any errors, returning the sucess and they results * @param f Any function * @returns sucess, result */ export declare function pcall(f: Function): Promise<{ sucess: boolean; result: any | null; }>; /** * Execute a designed function. If any error as captured, them try execute the function more {times} times * @param f Any function * @param times Amount of attempts * @returns any */ export declare function retry(f: Function, times: number): Promise; declare const _default: { version: string; pcall: typeof pcall; retry: typeof retry; }; export default _default; //# sourceMappingURL=safecallAPI.d.ts.map