/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterError } from "@matter/general";
import { BdxStatusCode, GeneralStatusCode } from "@matter/types";
/** Error class used by the BDX protocol. */
export declare class BdxError extends MatterError {
    #private;
    bytesTransferred: number;
    totalBytesLength?: number;
    constructor(message: string, code?: BdxStatusCode);
    get code(): BdxStatusCode;
    static is(error: unknown): error is BdxError;
}
/** Error base Class for all errors related to the BDX status response messages. */
export declare class BdxStatusResponseError extends MatterError {
    readonly generalStatusCode: GeneralStatusCode;
    readonly protocolStatusCode: BdxStatusCode;
    constructor(message: string, generalStatusCode: GeneralStatusCode, protocolStatusCode: BdxStatusCode);
}
//# sourceMappingURL=BdxError.d.ts.map