import type { IError } from '../../../domain/interface/index';
import type { IBaseErrorOptions } from '../../interface/index';
/**
 * Base error class.
 * @see {@link https://elsikora.com/docs/cladi/core-concepts/error-handling}
 */
export declare class BaseError extends Error implements IError {
    readonly CAUSE?: Error;
    readonly CODE: string;
    readonly CONTEXT?: Record<string, unknown>;
    readonly SOURCE?: string;
    /**
     * Creates a new base error.
     * @param {string} message Error message.
     * @param {IBaseErrorOptions} options Error options.
     */
    constructor(message: string, options: IBaseErrorOptions);
}
//# sourceMappingURL=error.class.d.ts.map