import { ServerError } from '@modelcontextprotocol/sdk/server/auth/errors.js'; import { UserError } from 'n8n-workflow'; import { AuthError } from '../../errors/response-errors/auth.error'; import type { WorkflowNotFoundReason } from './mcp.types'; export declare const buildMcpClientLimitReachedMessage: (limit: number) => string; export declare class McpClientLimitReachedError extends ServerError { readonly limit: number; constructor(limit: number); } export declare class McpExecutionTimeoutError extends UserError { executionId: string | null; timeoutMs: number; constructor(executionId: string | null, timeoutMs: number); } export declare class JWTVerificationError extends AuthError { constructor(); } export declare class AccessTokenNotFoundError extends AuthError { constructor(); } export declare class WorkflowAccessError extends UserError { readonly reason: WorkflowNotFoundReason; constructor(message: string, reason: WorkflowNotFoundReason); }