export declare class EpsilonBackgroundProcessError<T = void> extends Error {
    private static readonly EPSILON_BACKGROUND_PROCESS_ERROR_FLAG_KEY;
    private _errors;
    private _detailErrorCode;
    private _details;
    private _requestId;
    private _wrappedError;
    constructor(...errors: string[]);
    static combineErrorStringsWithDefault(errors: string[], defMessage?: string): string;
    setFormattedErrorMessage(format: string, ...input: any[]): void;
    withFormattedErrorMessage(format: string, ...input: any[]): EpsilonBackgroundProcessError<T>;
    withErrors(errors: string[]): EpsilonBackgroundProcessError<T>;
    withDetailErrorCode(detailErrorCode: number): EpsilonBackgroundProcessError<T>;
    withDetails(details: T): EpsilonBackgroundProcessError<T>;
    withRequestId(requestId: string): EpsilonBackgroundProcessError<T>;
    withWrappedError(err: Error): EpsilonBackgroundProcessError<T>;
    isWrappedError(): boolean;
    static wrapError<T = void>(err: Error): EpsilonBackgroundProcessError<T>;
    static objectIsEpsilonBackgroundProcessError(obj: any): boolean;
    set errors(value: string[]);
    get errors(): string[];
    set detailErrorCode(value: number);
    get detailErrorCode(): number;
    set details(value: T);
    get details(): T;
    set requestId(value: string);
    get requestId(): string;
    set wrappedError(value: Error);
    get wrappedError(): Error;
}
