import { CallbackFunction } from "./types";
export declare const errorObj: {
    e: {};
};
declare function tryCatcher<T>(err: Error, val?: T): void | {
    e: Error;
};
export declare function tryCatch<T>(fn: CallbackFunction<T>): typeof tryCatcher;
export {};
