export declare namespace errorUtil {
    type ErrMessage = string | {
        message?: string;
    };
    const errToObj: (message?: string | {
        message?: string | undefined;
    } | undefined) => {
        message?: string | undefined;
    };
    const toString: (message?: string | {
        message?: string | undefined;
    } | undefined) => string | undefined;
}
