export declare enum ErrorCode { InvalidApiKey = "invalid_api_key", AuthenticationFailed = "authentication_failed", Forbidden = "forbidden", DeviceNotRegistered = "device_not_registered", TokenExpired = "token_expired", DeviceRevoked = "device_revoked", NetworkUnavailable = "network_unavailable", RequestTimeout = "request_timeout", ServerError = "server_error", RateLimited = "rate_limited", InvalidInput = "invalid_input", UnsupportedModality = "unsupported_modality", ContextTooLarge = "context_too_large", ModelNotFound = "model_not_found", ModelDisabled = "model_disabled", VersionNotFound = "version_not_found", DownloadFailed = "download_failed", ChecksumMismatch = "checksum_mismatch", InsufficientStorage = "insufficient_storage", InsufficientMemory = "insufficient_memory", RuntimeUnavailable = "runtime_unavailable", AcceleratorUnavailable = "accelerator_unavailable", ModelLoadFailed = "model_load_failed", InferenceFailed = "inference_failed", StreamInterrupted = "stream_interrupted", PolicyDenied = "policy_denied", CloudFallbackDisallowed = "cloud_fallback_disallowed", CloudCredentialsMissing = "cloud_credentials_missing", CloudCredentialsRevoked = "cloud_credentials_revoked", CloudProviderAuthFailed = "cloud_provider_auth_failed", MaxToolRoundsExceeded = "max_tool_rounds_exceeded", TrainingFailed = "training_failed", TrainingNotSupported = "training_not_supported", WeightUploadFailed = "weight_upload_failed", ControlSyncFailed = "control_sync_failed", AssignmentNotFound = "assignment_not_found", Cancelled = "cancelled", AppBackgrounded = "app_backgrounded", Unknown = "unknown" } export type ErrorCategory = "auth" | "network" | "input" | "catalog" | "download" | "device" | "runtime" | "policy" | "training" | "control" | "lifecycle" | "unknown"; export type RetryClass = "never" | "immediate_safe" | "backoff_safe" | "conditional"; export type SuggestedAction = "fix_credentials" | "reauthenticate" | "check_permissions" | "register_device" | "retry_or_fallback" | "retry" | "retry_after" | "fix_request" | "reduce_input_or_fallback" | "check_model_id" | "use_alternate_model" | "check_version" | "redownload" | "free_storage_or_fallback" | "try_smaller_model" | "try_alternate_runtime" | "try_cpu_or_fallback" | "check_policy" | "change_policy_or_fix_local" | "increase_limit_or_simplify" | "check_assignment" | "none" | "resume_on_foreground" | "report_bug"; export interface ErrorClassification { category: ErrorCategory; retryClass: RetryClass; fallbackEligible: boolean; suggestedAction: SuggestedAction; } export declare const ERROR_CLASSIFICATION: Record; //# sourceMappingURL=error_code.d.ts.map