export declare function callWithErrorHandling(fn: Function, args?: unknown[], handlerError?: (err: Error) => void): any; export declare function callWithAsyncErrorHandling(fn: Function | Function[], args?: unknown[], handlerError?: (err: Error) => void): any[]; export declare function memo(fn: (...params: P) => T, compare: (preParams: P | [], newParams: P) => boolean): (...params: P) => T;