/**
 * Base class for MCP-specific errors
 */
export declare abstract class McpError extends Error {
    readonly serverName: string;
    readonly retryable: boolean;
    constructor(serverName: string, message: string, retryable: boolean);
}
/**
 * Error when MCP server fails to start or connect
 */
export declare class McpConnectionError extends McpError {
    readonly cause?: Error | undefined;
    constructor(serverName: string, cause?: Error | undefined);
}
/**
 * Error when MCP server times out
 */
export declare class McpTimeoutError extends McpError {
    readonly timeoutSeconds: number;
    constructor(serverName: string, timeoutSeconds: number);
}
/**
 * Error when MCP protocol is violated
 */
export declare class McpProtocolError extends McpError {
    constructor(serverName: string, message: string);
}
/**
 * Error when MCP tool call fails
 */
export declare class McpToolError extends McpError {
    readonly toolName: string;
    readonly cause?: Error | undefined;
    constructor(serverName: string, toolName: string, message: string, cause?: Error | undefined);
}
/**
 * Error when MCP server is not found
 */
export declare class McpServerError extends McpError {
    constructor(serverName: string);
}
//# sourceMappingURL=errors.d.ts.map