import { InternalMcpError } from './mcp.error'; /** * Thrown when a provider token is not registered. */ export declare class ProviderNotRegisteredError extends InternalMcpError { constructor(tokenName: string, context?: string); } /** * Thrown when a provider's scope doesn't match the expected scope. */ export declare class ProviderScopeMismatchError extends InternalMcpError { constructor(tokenName: string, scopeName: string, registryName: string); } /** * Thrown when a provider is expected to be instantiated but isn't. */ export declare class ProviderNotInstantiatedError extends InternalMcpError { constructor(tokenName: string, scope?: string, context?: string); } /** * Thrown when a circular dependency is detected. */ export declare class DependencyCycleError extends InternalMcpError { constructor(cycle: string); } /** * Thrown when provider construction fails. */ export declare class ProviderConstructionError extends InternalMcpError { readonly originalError?: Error; constructor(tokenName: string, cause?: Error | string, qualifier?: string); } /** * Thrown when a provider dependency cannot be resolved. */ export declare class ProviderDependencyError extends InternalMcpError { constructor(message: string); } /** * Thrown when a scoped provider is accessed from the wrong scope. */ export declare class ProviderScopedAccessError extends InternalMcpError { constructor(tokenName: string, scopeName: string); } /** * Thrown when a provider is not available in the current context. */ export declare class ProviderNotAvailableError extends InternalMcpError { constructor(tokenName: string, context?: string); } /** * Thrown when a plugin dependency cannot be resolved. */ export declare class PluginDependencyError extends InternalMcpError { constructor(message: string); } /** * Thrown when a dependency has an invalid scope configuration. */ export declare class InvalidDependencyScopeError extends InternalMcpError { constructor(message: string); } //# sourceMappingURL=provider.errors.d.ts.map