import { BrightChainStringKey } from '../enumerations/brightChainStrings'; import { TcblErrorType } from '../enumerations/tcblErrorType'; import { TypedError } from './typedError'; /** * Error class for TCBL (Tarball CBL) operations. * * Extends TypedError with TcblErrorType for typed error handling, * and includes an optional details map for additional context. */ export declare class TcblError extends TypedError { /** * Optional details map providing additional context about the error. */ readonly details?: ReadonlyMap; protected get reasonMap(): Record; /** * Create a new TCBL error. * * @param errorType - The specific TCBL error type * @param details - Optional key-value map with additional context * @param language - Optional language code for localized messages * @param templateParams - Optional template parameters for message formatting */ constructor(errorType: TcblErrorType, details?: Map, language?: string, templateParams?: Record); /** * Convenience alias for the error type. */ get errorType(): TcblErrorType; } //# sourceMappingURL=tcblError.d.ts.map