/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Message } from "#codec/MessageCodec.js";
import type { Session } from "#session/Session.js";
import { StatusResponseError } from "#types";
import { MatterError, NoResponseTimeoutError } from "@matter/general";
/**
 * Indicates MRP retries were exhausted without a response from the client.
 *
 * TODO - we use this error far too broadly and throw in places that do not involve MRP
 */
export declare class RetransmissionLimitReachedError extends NoResponseTimeoutError {
}
/**
 * Thrown when we receive a message on an exchange that we did not expect.
 */
export declare class UnexpectedMessageError extends MatterError {
    readonly receivedMessage: Message;
    constructor(message: string, session: Session, receivedMessage: Message);
}
/**
 * Thrown for communication attempts on closed sessions.
 */
export declare class SessionClosedError extends MatterError {
}
/**
 * Thrown for operations that are illegal because a session is not associated with a fabric.
 */
export declare class NoAssociatedFabricError extends StatusResponseError {
    constructor(message: string);
}
//# sourceMappingURL=errors.d.ts.map