/** * Each code a `SentryAPIException` subclass sends, with the string keys its * `extra` can carry, from the spec's `SentryApiErrorBody` component. */ export declare const SENTRY_ERROR_EXTRA_KEYS: { readonly "2fa-required": readonly []; readonly "agent-handoff-access-changed": readonly []; readonly "agent-handoff-cross-origin": readonly []; readonly "agent-handoff-expired": readonly []; readonly "agent-handoff-malformed": readonly []; readonly "agent-handoff-rate-limited": readonly []; readonly "agent-handoff-setup-unavailable": readonly []; readonly "agent-handoff-unavailable": readonly []; readonly "data-secrecy": readonly []; readonly "integrations:bitbucket.webhook.invalid-signature": readonly []; readonly "integrations:bitbucket.webhook.missing-signature": readonly []; readonly "integrations:bitbucket.webhook.unsupported-signature-method": readonly []; readonly "invalid-request": readonly []; readonly "invalid-superuser-access-json": readonly []; readonly invalid_sort_by_parameter: readonly []; readonly "member-disabled-over-limit": readonly ["next"]; readonly "parameter-validation-error": readonly ["context"]; readonly "primary-email-verification-required": readonly ["username"]; readonly repo_exists: readonly []; readonly "request-timeout": readonly []; readonly "sso-required": readonly ["loginUrl", "organizationSlug"]; readonly "staff-required": readonly []; readonly "sudo-required": readonly ["username"]; readonly "superuser-required": readonly ["orgSlug"]; readonly unable_to_acquire_lock: readonly []; readonly "user-required": readonly []; }; /** The codes the spec marks with `x-sentry-auth-challenge`. */ export declare const SENTRY_AUTH_CHALLENGE_CODES: readonly ["2fa-required", "member-disabled-over-limit", "primary-email-verification-required", "sso-required", "staff-required", "sudo-required", "superuser-required"]; /** Other `code` values that operations document in their error responses, outside `SentryApiErrorBody`. */ export type SentryOperationErrorCode = "repos_not_linked" | "run_in_flight" | "scm_integration_required" | "seer_out_of_credits" | "seer_out_of_quota";