import { AppError, type BaseErrorOptions } from "mcp-server-framework"; export declare class ApiError extends AppError { readonly endpoint?: string | undefined; readonly apiStatusCode?: number | undefined; constructor(message: string, options?: Omit & { endpoint?: string | undefined; apiStatusCode?: number | undefined; }); static requestFailed(reason?: string): ApiError; static fromResponse(status: number, responseMessage: string, endpoint?: string): ApiError; static invalidResponse(reason?: string): ApiError; static parseError(cause?: Error): ApiError; } export declare class ConnectionError extends AppError { readonly target: string; constructor(message: string, target: string, options?: Omit); static failed(target: string, reason?: string): ConnectionError; static refused(target: string): ConnectionError; static timeout(target: string, timeoutMs?: number): ConnectionError; static healthCheckFailed(reason: string, cause?: Error): ConnectionError; } export declare class AuthenticationError extends AppError { constructor(message: string, options?: Omit); static failed(reason?: string): AuthenticationError; static invalidCredentials(): AuthenticationError; static tokenExpired(): AuthenticationError; static tokenInvalid(): AuthenticationError; static unauthorized(): AuthenticationError; static forbidden(): AuthenticationError; static loginFailed(status: number, statusText: string): AuthenticationError; static noToken(): AuthenticationError; static tokenMissing(): AuthenticationError; } export declare class NotFoundError extends AppError { readonly resourceType: string; readonly resourceId: string; constructor(message: string, resourceType: string, resourceId: string, options?: Omit); static resource(resource: string, type?: string): NotFoundError; static server(server: string): NotFoundError; static container(container: string): NotFoundError; static stack(stack: string): NotFoundError; static deployment(deployment: string): NotFoundError; } export declare class ConfirmationRequiredError extends AppError { constructor(message: string, options?: Omit); static declined(action: string, resourceType: string, resourceId: string, outcome: string): ConfirmationRequiredError; static unavailable(action: string, resourceType: string, resourceId: string): ConfirmationRequiredError; } export declare class ClientNotConfiguredError extends AppError { constructor(message: string, options?: Omit); static notConfigured(): ClientNotConfiguredError; static notConnected(): ClientNotConfiguredError; static invalidConfiguration(reason: string): ClientNotConfiguredError; }