export declare class VisionError extends Error { code: string; provider?: string | undefined; originalError?: Error | undefined; statusCode?: number | undefined; constructor(message: string, code: string, provider?: string | undefined, originalError?: Error | undefined, statusCode?: number | undefined); } export declare class ConfigurationError extends VisionError { constructor(message: string, variable?: string); variable?: string; } export declare class ProviderError extends VisionError { constructor(message: string, provider: string, originalError?: Error, statusCode?: number); } export declare class FileUploadError extends VisionError { constructor(message: string, provider?: string, originalError?: Error, statusCode?: number); } export declare class FileNotFoundError extends VisionError { constructor(fileId: string, provider?: string); fileId: string; } export declare class UnsupportedFileTypeError extends VisionError { constructor(mimeType: string, supportedTypes?: string[]); mimeType: string; supportedTypes?: string[]; } export declare class FileSizeExceededError extends VisionError { constructor(fileSize: number, maxSize: number); fileSize: number; maxSize: number; } export declare class RateLimitExceededError extends VisionError { constructor(message: string, provider?: string, retryAfter?: number); retryAfter?: number; } export declare class AuthenticationError extends VisionError { constructor(message: string, provider?: string); } export declare class AuthorizationError extends VisionError { constructor(message: string, provider?: string); } export declare class NetworkError extends VisionError { constructor(message: string, originalError?: Error); } export declare class ValidationError extends VisionError { constructor(message: string, field?: string); field?: string; } export declare class StorageError extends VisionError { constructor(message: string, storageType?: string, originalError?: Error, statusCode?: number); } export type ErrorType = 'CONFIG_ERROR' | 'PROVIDER_ERROR' | 'FILE_UPLOAD_ERROR' | 'FILE_NOT_FOUND' | 'UNSUPPORTED_FILE_TYPE' | 'FILE_SIZE_EXCEEDED' | 'RATE_LIMIT_EXCEEDED' | 'AUTHENTICATION_ERROR' | 'AUTHORIZATION_ERROR' | 'NETWORK_ERROR' | 'VALIDATION_ERROR' | 'STORAGE_ERROR'; export interface ErrorDetails { code: ErrorType; message: string; provider?: string; statusCode?: number; originalError?: string; timestamp: string; requestId?: string; } //# sourceMappingURL=Errors.d.ts.map