/** * AI Provider Error Classes * * Custom error types for different failure scenarios. */ export declare class AIProviderError extends Error { code: string; isRetryable: boolean; suggestion?: string | undefined; constructor(message: string, code: string, isRetryable?: boolean, suggestion?: string | undefined); } export declare class NotConfiguredError extends AIProviderError { constructor(); } export declare class AuthenticationError extends AIProviderError { constructor(message?: string); } export declare class RateLimitError extends AIProviderError { constructor(message?: string); } export declare class TimeoutError extends AIProviderError { constructor(timeoutMs: number); } export declare class CLINotFoundError extends AIProviderError { constructor(); } export declare class CircuitOpenError extends AIProviderError { constructor(); } export declare class InputValidationError extends AIProviderError { constructor(message: string); } export declare class ProcessSpawnError extends AIProviderError { constructor(message: string); } /** * Helper to determine if an error is retryable */ export declare function isRetryableError(error: unknown): boolean; /** * Helper to get suggestion from error */ export declare function getErrorSuggestion(error: unknown): string | undefined; /** * Helper to get error code */ export declare function getErrorCode(error: unknown): string; //# sourceMappingURL=errors.d.ts.map