declare const catchable: <T, E = Error>(promise: Promise<T>) => Promise<CatchableResult<T, E>>;
export type CatchableResult<T, E = Error> = {
    result: T;
    error: E | undefined;
};
export default catchable;
