/** * .catch(), but works both with sync and async functions */ export declare const catchUncolored: (cb: () => T, onError: (e: unknown) => T) => T; /** * .then(), but works both with sync and async functions */ export declare const thenUncolored: (t: T, f: (t: T) => U) => T extends Promise ? Promise : U;