export declare namespace Errors {
    type ErrorResponse = {
        code: number;
        message: string;
    };
    type ErrorStringifier = (params?: any) => string;
    type ErrorFormatter = (params?: any) => ErrorResponse;
    type Error<T> = {
        type: T;
        code: number;
        stringify: ErrorStringifier;
        format: ErrorFormatter;
    };
}
