import { z } from "zod"; export declare const CODEX_DISTRIBUTION_SCHEMA_VERSION: 1; export declare const CODEX_ACCOUNTS_PATH = "/v1/codex/accounts"; export declare const CODEX_ACCOUNTS_LIST_PATH = "/v1/codex/accounts"; export declare const CODEX_ACCOUNTS_IMPORT_PATH = "/v1/admin/codex/accounts/import"; export declare const CODEX_ADMIN_ACCOUNTS_PATH = "/v1/admin/codex/accounts"; export declare const CODEX_ADMIN_ASSIGNMENTS_PATH = "/v1/admin/codex/assignments"; export declare const CODEX_ENROLLMENT_SCHEMA_VERSION: 2; export declare const CODEX_MANAGED_CREDENTIALS_V3_SCHEMA_VERSION: 3; export declare const CODEX_MANAGED_CREDENTIALS_V3_PATH = "/v3/codex"; export declare const CODEX_V3_ENROLLMENT_CONFIGURATION_PATH = "/v4/codex/enrollment-configuration"; export declare const CODEX_V3_ENROLLMENTS_PATH = "/v3/codex/enrollments"; export declare const CODEX_V3_CREDENTIAL_ASSIGNMENTS_PATH = "/v4/codex/credential-assignments"; export declare const CODEX_V3_FULL_CREDENTIAL_DELIVERIES_PATH = "/v4/codex/full-credential-deliveries"; export declare const CODEX_V3_CREDENTIAL_LINEAGES_PATH = "/v4/codex/credential-lineages"; export declare const CODEX_TOKEN_POOL_V4_SCHEMA_VERSION: 4; export declare const CODEX_TOKEN_POOL_V4_PATH = "/v4/admin/codex"; export declare const CODEX_TOKEN_POOL_V4_ENROLLMENT_CONFIGURATION_PATH = "/v4/admin/codex/enrollment-configuration"; export declare const CODEX_TOKEN_POOL_V4_DIRECTORY_RESOLVE_PATH = "/v4/admin/codex/directory-users/resolve"; export declare const CODEX_TOKEN_POOL_V4_UPLOADS_PATH = "/v4/admin/codex/token-pool/uploads"; export declare const CODEX_TOKEN_POOL_V4_RUNTIME_PATH = "/v4/codex"; export declare const CODEX_TOKEN_POOL_V4_CREDENTIAL_LINEAGES_PATH = "/v4/codex/credential-lineages"; export declare const CODEX_MULTI_DEVICE_V5_SCHEMA_VERSION: 5; export declare const CODEX_MULTI_DEVICE_V5_RUNTIME_PATH = "/v5/codex"; export declare const CODEX_MULTI_DEVICE_V5_CREDENTIAL_ASSIGNMENTS_PATH = "/v5/codex/credential-assignments"; export declare const CODEX_MULTI_DEVICE_V5_DEVICE_SESSIONS_PATH = "/v5/codex/device-sessions"; export declare const CODEX_MULTI_DEVICE_V5_CREDENTIAL_LINEAGES_PATH = "/v5/codex/credential-lineages"; export declare const CODEX_REQUEST_BOUND_DEVICE_V6_SCHEMA_VERSION: 6; export declare const CODEX_REQUEST_BOUND_DEVICE_V6_RUNTIME_PATH = "/v6/codex"; export declare const CODEX_V6_ACCOUNT_REQUESTS_PATH = "/v6/codex/account-requests"; export declare const CODEX_V6_DEVICE_ACCESS_RECONCILIATIONS_PATH = "/v6/codex/device-access/reconciliations"; export declare const CODEX_V6_DEVICE_BINDINGS_PATH = "/v6/codex/device-bindings"; export declare const CODEX_REQUEST_BOUND_DEVICE_V6_ADMIN_PATH = "/v6/admin/codex"; export declare const CODEX_V6_ADMIN_ACCOUNT_REQUESTS_PATH = "/v6/admin/codex/account-requests"; export declare const CODEX_V6_ADMIN_DEVICE_BINDINGS_PATH = "/v6/admin/codex/device-bindings"; export interface CodexQuotaWindowLike { usedPercent?: number | null; windowMinutes?: number | null; resetAt?: number | string | null; } export declare function codexQuotaWindowHasData(window: CodexQuotaWindowLike | null | undefined): boolean; export declare const CodexQuotaWindowViewSchema: z.ZodPipe>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>; export declare const CodexQuotaSnapshotViewSchema: z.ZodObject<{ updatedAt: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>; export declare const CodexAccountSummarySchema: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; label: z.ZodOptional>>; isDefault: z.ZodBoolean; accessExpiresAt: z.ZodOptional; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; credentialStatus: z.ZodOptional>; lineageStatus: z.ZodOptional>; quota: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>>>; }, z.core.$strip>; export declare const CodexAccountListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; accounts: z.ZodArray>>; isDefault: z.ZodBoolean; accessExpiresAt: z.ZodOptional; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; credentialStatus: z.ZodOptional>; lineageStatus: z.ZodOptional>; quota: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>>>; }, z.core.$strip>>; defaultAccountId: z.ZodOptional>; }, z.core.$strip>; export declare const CodexLoginCredentialsResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; account: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; label: z.ZodOptional>>; isDefault: z.ZodBoolean; accessExpiresAt: z.ZodOptional; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; credentialStatus: z.ZodOptional>; lineageStatus: z.ZodOptional>; quota: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>>>; }, z.core.$strip>; accessToken: z.ZodString; idToken: z.ZodString; expiresAt: z.ZodNumber; }, z.core.$strip>; export declare const CodexUploadAccountSchema: z.ZodObject<{ sourceKey: z.ZodString; accountId: z.ZodOptional; label: z.ZodString; email: z.ZodOptional; refreshToken: z.ZodString; accessToken: z.ZodOptional; idToken: z.ZodOptional; expiresAt: z.ZodOptional; enabled: z.ZodBoolean; quota: z.ZodOptional; activeLimit: z.ZodOptional; primary: z.ZodObject<{ usedPercent: z.ZodOptional; windowMinutes: z.ZodOptional; resetAt: z.ZodOptional; }, z.core.$strip>; secondary: z.ZodObject<{ usedPercent: z.ZodOptional; windowMinutes: z.ZodOptional; resetAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; export declare const CodexUploadBatchSchema: z.ZodObject<{ source: z.ZodString; accounts: z.ZodArray; label: z.ZodString; email: z.ZodOptional; refreshToken: z.ZodString; accessToken: z.ZodOptional; idToken: z.ZodOptional; expiresAt: z.ZodOptional; enabled: z.ZodBoolean; quota: z.ZodOptional; activeLimit: z.ZodOptional; primary: z.ZodObject<{ usedPercent: z.ZodOptional; windowMinutes: z.ZodOptional; resetAt: z.ZodOptional; }, z.core.$strip>; secondary: z.ZodObject<{ usedPercent: z.ZodOptional; windowMinutes: z.ZodOptional; resetAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export declare const CodexImportCredentialResultSchema: z.ZodObject<{ accountId: z.ZodString; label: z.ZodOptional>>; status: z.ZodEnum<{ CREATED: "CREATED"; REJECTED: "REJECTED"; REPLACED: "REPLACED"; UNCHANGED: "UNCHANGED"; UNKNOWN: "UNKNOWN"; }>; errorCode: z.ZodNullable; }, z.core.$strip>; export declare const CodexImportResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; created: z.ZodNumber; updated: z.ZodNumber; accountIds: z.ZodArray; credentials: z.ZodArray>>; status: z.ZodEnum<{ CREATED: "CREATED"; REJECTED: "REJECTED"; REPLACED: "REPLACED"; UNCHANGED: "UNCHANGED"; UNKNOWN: "UNKNOWN"; }>; errorCode: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; export declare const CodexCredentialVersionSchema: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; version: z.ZodNumber; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; CANDIDATE: "CANDIDATE"; REJECTED: "REJECTED"; RETIRED: "RETIRED"; REVOKED: "REVOKED"; SUPERSEDED: "SUPERSEDED"; UNKNOWN: "UNKNOWN"; }>; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>; export declare const CodexAdminAccountSchema: z.ZodObject<{ id: z.ZodString; sourceKey: z.ZodString; providerAccountId: z.ZodNullable; label: z.ZodOptional>>; email: z.ZodNullable; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; NEEDS_REAUTH: "NEEDS_REAUTH"; }>; refreshStatus: z.ZodEnum<{ HEALTHY: "HEALTHY"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; UNKNOWN: "UNKNOWN"; }>; subscriptionStatus: z.ZodNullable; subscriptionExpiresAt: z.ZodNullable; credentialExpiresAt: z.ZodNullable; lastRefreshAt: z.ZodNullable; lastRefreshErrorCode: z.ZodNullable; credentialStatus: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; }>; activeCredential: z.ZodNullable; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; activeAssignmentCount: z.ZodOptional; }, z.core.$strict>; export declare const CodexAdminAccountListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; accounts: z.ZodArray; label: z.ZodOptional>>; email: z.ZodNullable; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; NEEDS_REAUTH: "NEEDS_REAUTH"; }>; refreshStatus: z.ZodEnum<{ HEALTHY: "HEALTHY"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; UNKNOWN: "UNKNOWN"; }>; subscriptionStatus: z.ZodNullable; subscriptionExpiresAt: z.ZodNullable; credentialExpiresAt: z.ZodNullable; lastRefreshAt: z.ZodNullable; lastRefreshErrorCode: z.ZodNullable; credentialStatus: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; }>; activeCredential: z.ZodNullable; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; activeAssignmentCount: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; export declare const CodexCredentialVersionListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; account: z.ZodObject<{ id: z.ZodString; sourceKey: z.ZodString; providerAccountId: z.ZodNullable; label: z.ZodOptional>>; email: z.ZodNullable; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; NEEDS_REAUTH: "NEEDS_REAUTH"; }>; refreshStatus: z.ZodEnum<{ HEALTHY: "HEALTHY"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; UNKNOWN: "UNKNOWN"; }>; subscriptionStatus: z.ZodNullable; subscriptionExpiresAt: z.ZodNullable; credentialExpiresAt: z.ZodNullable; lastRefreshAt: z.ZodNullable; lastRefreshErrorCode: z.ZodNullable; credentialStatus: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; }>; activeCredential: z.ZodNullable; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; activeAssignmentCount: z.ZodOptional; }, z.core.$strict>; credentials: z.ZodArray; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; export declare const CodexManualRefreshResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; accountId: z.ZodString; outcome: z.ZodEnum<{ PERMANENT_FAILURE: "PERMANENT_FAILURE"; SUCCESS: "SUCCESS"; TEMPORARY_FAILURE: "TEMPORARY_FAILURE"; }>; errorCode: z.ZodNullable; expiresAt: z.ZodNullable; }, z.core.$strict>; export declare const CodexAdminAccountRenewalInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; expectedSubscriptionExpiresAt: z.ZodNullable; subscriptionExpiresAt: z.ZodNumber; }, z.core.$strict>; export declare const CodexAdminAccountRenewalResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; account: z.ZodObject<{ id: z.ZodString; sourceKey: z.ZodString; providerAccountId: z.ZodNullable; label: z.ZodOptional>>; email: z.ZodNullable; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; NEEDS_REAUTH: "NEEDS_REAUTH"; }>; refreshStatus: z.ZodEnum<{ HEALTHY: "HEALTHY"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; UNKNOWN: "UNKNOWN"; }>; subscriptionStatus: z.ZodNullable; subscriptionExpiresAt: z.ZodNullable; credentialExpiresAt: z.ZodNullable; lastRefreshAt: z.ZodNullable; lastRefreshErrorCode: z.ZodNullable; credentialStatus: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; NEEDS_REAUTH: "NEEDS_REAUTH"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; }>; activeCredential: z.ZodNullable; expiresAt: z.ZodNullable; observedSource: z.ZodNullable; lastVerifiedAt: z.ZodNullable; lastRefreshAttemptAt: z.ZodNullable; lastRefreshAttemptReason: z.ZodNullable>; lastRefreshAttemptOutcome: z.ZodNullable>; lastRefreshAttemptErrorCode: z.ZodNullable; lastRefreshObservedExpiresAt: z.ZodNullable; firstObservedAt: z.ZodNumber; lastObservedAt: z.ZodNumber; serverIssuedAt: z.ZodNullable; providerIssuedAt: z.ZodNullable; parentCredentialId: z.ZodNullable; supersededByCredentialId: z.ZodNullable; supersededAt: z.ZodNullable; supersededReason: z.ZodNullable; lastRefreshTokenResponseMode: z.ZodEnum<{ NEW: "NEW"; NOT_APPLICABLE: "NOT_APPLICABLE"; OMITTED: "OMITTED"; SAME: "SAME"; }>; retiredAt: z.ZodNullable; rejectedAt: z.ZodNullable; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; activeAssignmentCount: z.ZodOptional; }, z.core.$strict>; previousSubscriptionExpiresAt: z.ZodNullable; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexAdminAssignmentSchema: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; userSubject: z.ZodString; username: z.ZodString; isDefault: z.ZodBoolean; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; }>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>; export declare const CodexAdminAssignmentListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; assignments: z.ZodArray; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; export declare const CodexAdminAssignmentMutationResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; assignment: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; userSubject: z.ZodString; username: z.ZodString; isDefault: z.ZodBoolean; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DISABLED: "DISABLED"; }>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexAdminAssignmentDeleteResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; assignmentId: z.ZodString; }, z.core.$strict>; export declare const CodexEnrollmentMutationInputSchema: z.ZodObject<{ idempotencyKey: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; export declare const CodexEnrollmentCandidateEnvelopeSchema: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; export declare const CodexUserCredentialAssignmentSchema: z.ZodObject<{ assignmentId: z.ZodString; managedAccountId: z.ZodString; label: z.ZodString; distributionMode: z.ZodLiteral<"SERVER_MANAGED_SHORT_LIVED">; lineageStatus: z.ZodNullable>; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; deliveryEligible: z.ZodBoolean; }, z.core.$strict>; export declare const CodexUserCredentialAssignmentListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; items: z.ZodArray; lineageStatus: z.ZodNullable>; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; deliveryEligible: z.ZodBoolean; }, z.core.$strict>>; total: z.ZodNumber; }, z.core.$strict>; export declare const CodexShortLivedDeliveryClientKeySchema: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; publicKey: z.ZodString; }, z.core.$strict>; export declare const CodexShortLivedDeliveryEnvelopeSchema: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; export declare const CodexV3CredentialIngressSchema: z.ZodObject<{ envelopeVersion: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; publicKey: z.ZodString; maxRequestBytes: z.ZodNumber; maxCiphertextBytes: z.ZodNumber; }, z.core.$strict>; export declare const CodexV3CredentialEnvelopeSchema: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; export declare const CodexV3EnrollmentConfigurationSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; ingress: z.ZodObject<{ envelopeVersion: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; publicKey: z.ZodString; maxRequestBytes: z.ZodNumber; maxCiphertextBytes: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV3EnrollmentInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<3>; clientRequestId: z.ZodString; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV3EnrollmentSchema: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; status: z.ZodEnum<{ NEEDS_REAUTH: "NEEDS_REAUTH"; OUTCOME_AMBIGUOUS: "OUTCOME_AMBIGUOUS"; READY: "READY"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; VALIDATING: "VALIDATING"; }>; assignmentId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; lineageId: z.ZodNullable; generationVersion: z.ZodNullable; authorityMode: z.ZodLiteral<"SERVER_VALIDATING">; createdAt: z.ZodString; completedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; }, z.core.$strict>; export declare const CodexV3EnrollmentResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<3>; enrollment: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; status: z.ZodEnum<{ NEEDS_REAUTH: "NEEDS_REAUTH"; OUTCOME_AMBIGUOUS: "OUTCOME_AMBIGUOUS"; READY: "READY"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; VALIDATING: "VALIDATING"; }>; assignmentId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; lineageId: z.ZodNullable; generationVersion: z.ZodNullable; authorityMode: z.ZodLiteral<"SERVER_VALIDATING">; createdAt: z.ZodString; completedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV3AccessTokenHealthSchema: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; export declare const CodexV3RefreshTokenHealthSchema: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; export declare const CodexV3CredentialAssignmentSchema: z.ZodObject<{ assignmentId: z.ZodString; managedAccountId: z.ZodString; label: z.ZodString; providerAccountId: z.ZodString; lineageId: z.ZodString; lineageStatus: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; READY: "READY"; STALE: "STALE"; }>; authorityMode: z.ZodEnum<{ CLIENT_MANAGED: "CLIENT_MANAGED"; DELIVERY_PENDING: "DELIVERY_PENDING"; SERVER_VALIDATING: "SERVER_VALIDATING"; }>; authorityEpoch: z.ZodNumber; currentGenerationVersion: z.ZodNumber; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; credentialExpiresAt: z.ZodString; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; lastObservedAt: z.ZodString; deliveryEligible: z.ZodBoolean; quota: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>>>; }, z.core.$strict>; export declare const CodexV3CredentialAssignmentListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; items: z.ZodArray; authorityMode: z.ZodEnum<{ CLIENT_MANAGED: "CLIENT_MANAGED"; DELIVERY_PENDING: "DELIVERY_PENDING"; SERVER_VALIDATING: "SERVER_VALIDATING"; }>; authorityEpoch: z.ZodNumber; currentGenerationVersion: z.ZodNumber; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; credentialExpiresAt: z.ZodString; subscriptionStatus: z.ZodOptional>; subscriptionExpiresAt: z.ZodOptional>; lastObservedAt: z.ZodString; deliveryEligible: z.ZodBoolean; quota: z.ZodOptional>>; status: z.ZodOptional>; model: z.ZodOptional>; planType: z.ZodOptional>; activeLimit: z.ZodOptional>; primary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; secondary: z.ZodOptional>; windowMinutes: z.ZodOptional>; resetAt: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; } | null, { usedPercent?: number | null | undefined; windowMinutes?: number | null | undefined; resetAt?: string | number | null | undefined; }>>>>; }, z.core.$strip>>>; }, z.core.$strict>>; total: z.ZodNumber; }, z.core.$strict>; export declare const CodexV3FullCredentialDeliveryRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; clientRequestId: z.ZodString; clientKey: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; publicKey: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV3FullCredentialDeliveryResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; delivery: z.ZodObject<{ id: z.ZodString; credentialKind: z.ZodLiteral<"FULL">; clientRequestId: z.ZodString; assignmentId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; subject: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; authorityEpoch: z.ZodNumber; issuedAt: z.ZodString; credentialExpiresAt: z.ZodString; ackExpiresAt: z.ZodString; ackedAt: z.ZodNullable; status: z.ZodLiteral<"AWAITING_ACK">; authorityMode: z.ZodLiteral<"DELIVERY_PENDING">; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV3FullCredentialDeliveryAckInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; lineageId: z.ZodString; generationVersion: z.ZodNumber; installed: z.ZodLiteral; }, z.core.$strict>; export declare const CodexV3FullCredentialDeliveryAckResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; delivery: z.ZodObject<{ id: z.ZodString; credentialKind: z.ZodLiteral<"FULL">; clientRequestId: z.ZodString; assignmentId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; subject: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; issuedAt: z.ZodString; credentialExpiresAt: z.ZodString; ackExpiresAt: z.ZodString; status: z.ZodLiteral<"ACKED">; authorityMode: z.ZodLiteral<"CLIENT_MANAGED">; authorityEpoch: z.ZodNumber; ackedAt: z.ZodString; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV3FullCredentialBundleSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; deliveryId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; refreshToken: z.ZodString; accessToken: z.ZodString; idToken: z.ZodString; expiresAt: z.ZodString; }, z.core.$strict>; export declare const CodexV3GenerationReportInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; clientRequestId: z.ZodString; expectedGenerationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; observedAt: z.ZodString; }, z.core.$strict>; export declare const CodexV3GenerationReportResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; report: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; lineageId: z.ZodString; previousGenerationVersion: z.ZodNumber; generationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; credentialExpiresAt: z.ZodString; observedAt: z.ZodString; status: z.ZodLiteral<"APPLIED">; authorityMode: z.ZodLiteral<"CLIENT_MANAGED">; authorityEpoch: z.ZodNumber; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV5CreateDeviceSessionInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; clientRequestId: z.ZodString; installationId: z.ZodString; clientKey: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; publicKey: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV5CreateDeviceSessionResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; session: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; installationId: z.ZodString; assignmentId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; issuedAt: z.ZodString; leaseExpiresAt: z.ZodString; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; AWAITING_ACK: "AWAITING_ACK"; }>; authorityEpoch: z.ZodNumber; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV5DeviceSessionBundleSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; sessionId: z.ZodString; installationId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; refreshToken: z.ZodString; accessToken: z.ZodString; idToken: z.ZodString; expiresAt: z.ZodString; }, z.core.$strict>; export declare const CodexV5AcknowledgeDeviceSessionInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; installationId: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; installed: z.ZodLiteral; }, z.core.$strict>; export declare const CodexV5AcknowledgeDeviceSessionResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; session: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; installationId: z.ZodString; assignmentId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; lineageId: z.ZodString; generationVersion: z.ZodNumber; issuedAt: z.ZodString; leaseExpiresAt: z.ZodString; status: z.ZodLiteral<"ACTIVE">; authorityEpoch: z.ZodNumber; acknowledgedAt: z.ZodString; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV5HeartbeatDeviceSessionInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; installationId: z.ZodString; authorityEpoch: z.ZodNumber; }, z.core.$strict>; export declare const CodexV5HeartbeatDeviceSessionResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; session: z.ZodObject<{ id: z.ZodString; installationId: z.ZodString; lineageId: z.ZodString; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; RECOVERY_REQUIRED: "RECOVERY_REQUIRED"; }>; authorityEpoch: z.ZodNumber; generationVersion: z.ZodNumber; leaseExpiresAt: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV5ReleaseDeviceSessionInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; installationId: z.ZodString; authorityEpoch: z.ZodNumber; expectedGenerationVersion: z.ZodNumber; }, z.core.$strict>; export declare const CodexV5ReleaseDeviceSessionResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; session: z.ZodObject<{ id: z.ZodString; installationId: z.ZodString; lineageId: z.ZodString; status: z.ZodLiteral<"RELEASED">; authorityEpoch: z.ZodNumber; generationVersion: z.ZodNumber; releasedAt: z.ZodString; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV5GenerationReportInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; clientRequestId: z.ZodString; installationId: z.ZodString; sessionId: z.ZodString; authorityEpoch: z.ZodNumber; expectedGenerationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; observedAt: z.ZodString; }, z.core.$strict>; export declare const CodexV5GenerationReportResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<5>; report: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; lineageId: z.ZodString; sessionId: z.ZodString; installationId: z.ZodString; previousGenerationVersion: z.ZodNumber; generationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; credentialExpiresAt: z.ZodString; observedAt: z.ZodString; status: z.ZodLiteral<"APPLIED">; authorityMode: z.ZodLiteral<"CLIENT_MANAGED">; authorityEpoch: z.ZodNumber; leaseExpiresAt: z.ZodString; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; /** * v6 makes one complete upstream token set the property of exactly one * request/device binding. A request may own several bindings for the same * user, but lineages and installation ids may never be shared by bindings. */ export declare const CodexV6DeviceDescriptorSchema: z.ZodObject<{ installationId: z.ZodString; label: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; }, z.core.$strict>; export declare const CodexV6AccountRequestStatusSchema: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; export declare const CodexV6AccountRequestAvailabilitySchema: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; export declare const CodexV6AccountRequestSchema: z.ZodObject<{ id: z.ZodString; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>; export declare const CodexV6CreateAccountRequestInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; requestedValidUntil: z.ZodString; initialDevice: z.ZodObject<{ installationId: z.ZodString; label: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV6AccountRequestResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; request: z.ZodObject<{ id: z.ZodString; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6AccountRequestListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; items: z.ZodArray; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>>; total: z.ZodNumber; }, z.core.$strict>; export declare const CodexV6AdminAccountRequestListQuerySchema: z.ZodObject<{ expiresBefore: z.ZodOptional; includeTerminal: z.ZodOptional; }, z.core.$strict>; export declare const CodexV6AdminReplacementCandidateQuerySchema: z.ZodObject<{ replaceBefore: z.ZodString; }, z.core.$strict>; export declare const CodexV6CancelAccountRequestInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; expectedRequestVersion: z.ZodNumber; }, z.core.$strict>; export declare const CodexV6AdminReviewAccountRequestInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; expectedRequestVersion: z.ZodNumber; decision: z.ZodEnum<{ APPROVE: "APPROVE"; REJECT: "REJECT"; }>; reason: z.ZodString; approvedDeviceLimit: z.ZodNullable; validFrom: z.ZodNullable; validUntil: z.ZodNullable; }, z.core.$strict>; export declare const CodexV6DeviceBindingStatusSchema: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; export declare const CodexV6DeviceBindingSchema: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; export declare const CodexV6DeviceBindingListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; items: z.ZodArray; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>>; total: z.ZodNumber; }, z.core.$strict>; export declare const CodexV6AdminReplacementCandidateListResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; items: z.ZodArray; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>; binding: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; recommendedReason: z.ZodEnum<{ ADMIN_REQUESTED: "ADMIN_REQUESTED"; CREDENTIAL_UNHEALTHY: "CREDENTIAL_UNHEALTHY"; SUBSCRIPTION_EXPIRING: "SUBSCRIPTION_EXPIRING"; }>; replaceBefore: z.ZodString; }, z.core.$strict>>; total: z.ZodNumber; }, z.core.$strict>; export declare const CodexV6ReconcileDeviceAccessInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; device: z.ZodObject<{ installationId: z.ZodString; label: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; }, z.core.$strict>; legacy: z.ZodNullable>; }, z.core.$strict>; export declare const CodexV6ReconcileDeviceAccessResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; accessStatus: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; DEVICE_BINDING_REQUIRED: "DEVICE_BINDING_REQUIRED"; REQUEST_EXPIRED: "REQUEST_EXPIRED"; REQUEST_PENDING: "REQUEST_PENDING"; REQUEST_REQUIRED: "REQUEST_REQUIRED"; TOKEN_PENDING: "TOKEN_PENDING"; UNAVAILABLE: "UNAVAILABLE"; }>; request: z.ZodNullable; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>>; binding: z.ZodNullable; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>>; replacementBinding: z.ZodNullable; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>>; migration: z.ZodEnum<{ ADDITIONAL_DEVICE_DETECTED: "ADDITIONAL_DEVICE_DETECTED"; ALREADY_MIGRATED: "ALREADY_MIGRATED"; AUTO_MIGRATED: "AUTO_MIGRATED"; NONE: "NONE"; }>; guidanceCode: z.ZodNullable>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6AdminCreateDeviceBindingInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; expectedRequestVersion: z.ZodNumber; device: z.ZodObject<{ installationId: z.ZodString; label: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; }, z.core.$strict>; poolEntryId: z.ZodNullable; }, z.core.$strict>; export declare const CodexV6AdminCreateDeviceBindingResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; request: z.ZodObject<{ id: z.ZodString; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>; binding: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6AdminReplaceDeviceTokenInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; expectedRequestVersion: z.ZodNumber; reason: z.ZodEnum<{ ADMIN_REQUESTED: "ADMIN_REQUESTED"; CREDENTIAL_UNHEALTHY: "CREDENTIAL_UNHEALTHY"; SUBSCRIPTION_EXPIRING: "SUBSCRIPTION_EXPIRING"; }>; replaceBefore: z.ZodString; poolEntryId: z.ZodNullable; }, z.core.$strict>; export declare const CodexV6AdminReplaceDeviceTokenResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; request: z.ZodObject<{ id: z.ZodString; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; status: z.ZodEnum<{ APPROVED: "APPROVED"; CANCELLED: "CANCELLED"; EXPIRED: "EXPIRED"; REJECTED: "REJECTED"; SUBMITTED: "SUBMITTED"; }>; availability: z.ZodEnum<{ AVAILABLE: "AVAILABLE"; EXPIRED: "EXPIRED"; PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE"; PENDING_APPROVAL: "PENDING_APPROVAL"; UNAVAILABLE: "UNAVAILABLE"; WAITING_FOR_BINDING: "WAITING_FOR_BINDING"; }>; reason: z.ZodString; requestedDeviceCount: z.ZodNumber; approvedDeviceLimit: z.ZodNullable; activeBindingCount: z.ZodNumber; pendingBindingCount: z.ZodNumber; requestedValidUntil: z.ZodString; validFrom: z.ZodNullable; validUntil: z.ZodNullable; version: z.ZodNumber; createdAt: z.ZodString; submittedAt: z.ZodString; reviewedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; allowedActions: z.ZodArray>; }, z.core.$strict>; currentBinding: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; replacementBinding: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6FullCredentialDeliveryInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; installationId: z.ZodString; clientKey: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; publicKey: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV6FullCredentialDeliveryResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; delivery: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; requestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; issuedAt: z.ZodString; credentialExpiresAt: z.ZodString; ackExpiresAt: z.ZodString; ackedAt: z.ZodNullable; status: z.ZodLiteral<"AWAITING_ACK">; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6FullCredentialBundleSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; deliveryId: z.ZodString; requestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; refreshToken: z.ZodString; accessToken: z.ZodString; idToken: z.ZodString; expiresAt: z.ZodString; }, z.core.$strict>; export declare const CodexV6AcknowledgeFullCredentialDeliveryInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; installationId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; installed: z.ZodLiteral; }, z.core.$strict>; export declare const CodexV6AcknowledgeFullCredentialDeliveryResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; delivery: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; requestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; managedAccountId: z.ZodString; providerAccountId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; issuedAt: z.ZodString; credentialExpiresAt: z.ZodString; ackExpiresAt: z.ZodString; status: z.ZodLiteral<"ACKED">; ackedAt: z.ZodString; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6GenerationReportInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; expectedGenerationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; observedAt: z.ZodString; }, z.core.$strict>; export declare const CodexV6GenerationReportResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; report: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; requestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; credentialLineageId: z.ZodString; previousGenerationVersion: z.ZodNumber; generationVersion: z.ZodNumber; rotationMode: z.ZodEnum<{ RETAINED: "RETAINED"; ROTATED: "ROTATED"; }>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; credentialExpiresAt: z.ZodString; observedAt: z.ZodString; status: z.ZodLiteral<"APPLIED">; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV6CredentialHealthReportInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; generationVersion: z.ZodNumber; state: z.ZodEnum<{ INVALID: "INVALID"; REVOKED: "REVOKED"; }>; safeErrorCode: z.ZodString; observedAt: z.ZodString; }, z.core.$strict>; export declare const CodexV6CredentialHealthReportResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; currentBinding: z.ZodObject<{ reclaimable: z.ZodOptional; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>; replacementBinding: z.ZodNullable; releasedAt: z.ZodOptional>; id: z.ZodString; requestId: z.ZodString; userSubject: z.ZodString; installationId: z.ZodString; deviceLabel: z.ZodString; platform: z.ZodEnum<{ darwin: "darwin"; linux: "linux"; unknown: "unknown"; win32: "win32"; }>; source: z.ZodEnum<{ ACCOUNT_REPLACEMENT: "ACCOUNT_REPLACEMENT"; ADMIN_ADDED: "ADMIN_ADDED"; LEGACY_AUTO_MIGRATED: "LEGACY_AUTO_MIGRATED"; REQUEST_INITIAL: "REQUEST_INITIAL"; }>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; NEEDS_REAUTH: "NEEDS_REAUTH"; PENDING_TOKEN: "PENDING_TOKEN"; READY: "READY"; REPLACEMENT_PENDING: "REPLACEMENT_PENDING"; RETIRED: "RETIRED"; RETIREMENT_PENDING: "RETIREMENT_PENDING"; }>; predecessorBindingId: z.ZodNullable; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; credentialLineageId: z.ZodNullable; generationVersion: z.ZodNullable; credentialExpiresAt: z.ZodNullable; accountExpiresAt: z.ZodNullable; replacementDueAt: z.ZodNullable; replacementReason: z.ZodNullable>; accessTokenHealth: z.ZodEnum<{ EXPIRED: "EXPIRED"; HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; refreshTokenHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; REJECTED: "REJECTED"; UNKNOWN: "UNKNOWN"; }>; legacyAssignmentId: z.ZodNullable; createdAt: z.ZodString; activatedAt: z.ZodNullable; retiredAt: z.ZodNullable; }, z.core.$strict>>; replayed: z.ZodBoolean; }, z.core.$strict>; export declare const CodexV4AccessObservationStateSchema: z.ZodEnum<{ EXPIRED: "EXPIRED"; EXPIRING: "EXPIRING"; INVALID: "INVALID"; VALID: "VALID"; }>; export declare const CodexV4AccessObservationInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; generationVersion: z.ZodNumber; providerAccountId: z.ZodString; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; EXPIRING: "EXPIRING"; INVALID: "INVALID"; VALID: "VALID"; }>; accessTokenExpiresAt: z.ZodNullable; observedAt: z.ZodString; }, z.core.$strict>; export declare const CodexV4AccessObservationResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; observation: z.ZodObject<{ lineageId: z.ZodString; generationVersion: z.ZodNumber; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; EXPIRING: "EXPIRING"; INVALID: "INVALID"; VALID: "VALID"; }>; accessTokenExpiresAt: z.ZodNullable; observedAt: z.ZodString; receivedAt: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexTokenPoolV4IdempotencyKeySchema: z.ZodString; export declare const CodexTokenPoolV4AssignmentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"UNBOUND_POOL">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"DIRECTORY_PRINCIPAL">; principal: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"SUBJECT">; userSubject: z.ZodString; }, z.core.$strict>], "mode">; export declare const CodexTokenPoolV4EnrollmentConfigurationSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; ingress: z.ZodObject<{ envelopeVersion: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; publicKey: z.ZodString; maxRequestBytes: z.ZodNumber; maxCiphertextBytes: z.ZodNumber; }, z.core.$strict>; assignmentModes: z.ZodTuple<[z.ZodLiteral<"UNBOUND_POOL">, z.ZodLiteral<"DIRECTORY_PRINCIPAL">, z.ZodLiteral<"SUBJECT">], null>; }, z.core.$strict>; export declare const CodexTokenPoolV4DirectoryResolveResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; user: z.ZodObject<{ userSubject: z.ZodString; username: z.ZodString; email: z.ZodNullable; enabled: z.ZodLiteral; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexTokenPoolV4UploadInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; clientRequestId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"UNBOUND_POOL">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"DIRECTORY_PRINCIPAL">; principal: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"SUBJECT">; userSubject: z.ZodString; }, z.core.$strict>], "mode">; envelope: z.ZodObject<{ version: z.ZodLiteral<1>; algorithm: z.ZodLiteral<"X25519-HKDF-SHA256-AES-256-GCM">; keyId: z.ZodString; ephemeralPublicKey: z.ZodString; salt: z.ZodString; nonce: z.ZodString; ciphertext: z.ZodString; authenticationTag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexTokenPoolV4UploadResponseTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"UNBOUND_POOL">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"SUBJECT">; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; }, z.core.$strict>], "mode">; export declare const CodexTokenPoolV4UploadSchema: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; status: z.ZodEnum<{ NEEDS_REAUTH: "NEEDS_REAUTH"; OUTCOME_AMBIGUOUS: "OUTCOME_AMBIGUOUS"; POOLED: "POOLED"; RESERVED: "RESERVED"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; VALIDATING: "VALIDATING"; }>; placement: z.ZodEnum<{ FAILED: "FAILED"; PENDING: "PENDING"; RESERVED: "RESERVED"; UNBOUND_POOL: "UNBOUND_POOL"; }>; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; assignmentId: z.ZodNullable; assignedUserSubject: z.ZodNullable; reservedLineageId: z.ZodNullable; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"UNBOUND_POOL">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"SUBJECT">; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; }, z.core.$strict>], "mode">; createdAt: z.ZodString; completedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; }, z.core.$strict>; export declare const CodexTokenPoolV4UploadResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<4>; upload: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; status: z.ZodEnum<{ NEEDS_REAUTH: "NEEDS_REAUTH"; OUTCOME_AMBIGUOUS: "OUTCOME_AMBIGUOUS"; POOLED: "POOLED"; RESERVED: "RESERVED"; TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE"; VALIDATING: "VALIDATING"; }>; placement: z.ZodEnum<{ FAILED: "FAILED"; PENDING: "PENDING"; RESERVED: "RESERVED"; UNBOUND_POOL: "UNBOUND_POOL"; }>; managedAccountId: z.ZodNullable; providerAccountId: z.ZodNullable; poolEntryId: z.ZodNullable; assignmentId: z.ZodNullable; assignedUserSubject: z.ZodNullable; reservedLineageId: z.ZodNullable; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"UNBOUND_POOL">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"SUBJECT">; userSubject: z.ZodString; username: z.ZodString; userEmail: z.ZodNullable; }, z.core.$strict>], "mode">; createdAt: z.ZodString; completedAt: z.ZodNullable; safeErrorCode: z.ZodNullable; }, z.core.$strict>; replayed: z.ZodBoolean; }, z.core.$strict>; export type CodexAccountSummary = z.infer; export type CodexQuotaSnapshotView = z.infer; export type CodexAccountListResponse = z.infer; export type CodexLoginCredentialsResponse = z.infer; export type CodexUploadBatch = z.infer; export type CodexImportCredentialResult = z.infer; export type CodexImportResult = z.infer; export type CodexAdminAccount = z.infer; export type CodexAdminAccountListResponse = z.infer; export type CodexCredentialVersionListResponse = z.infer; export type CodexManualRefreshResponse = z.infer; export type CodexAdminAccountRenewalInput = z.infer; export type CodexAdminAccountRenewalResponse = z.infer; export type CodexAdminAssignmentListResponse = z.infer; export type CodexAdminAssignmentMutationResponse = z.infer; export type CodexAdminAssignmentDeleteResponse = z.infer; export type CodexUserCredentialAssignmentListResponse = z.infer; export type CodexShortLivedDeliveryClientKey = z.infer; export type CodexV3CredentialIngress = z.infer; export type CodexV3CredentialEnvelope = z.infer; export type CodexV3EnrollmentConfiguration = z.infer; export type CodexV3EnrollmentInput = z.infer; export type CodexV3EnrollmentResponse = z.infer; export type CodexV3CredentialAssignment = z.infer; export type CodexV3CredentialAssignmentListResponse = z.infer; export type CodexV3FullCredentialDeliveryRequest = z.infer; export type CodexV3FullCredentialDeliveryResponse = z.infer; export type CodexV3FullCredentialDeliveryAckInput = z.infer; export type CodexV3FullCredentialDeliveryAckResponse = z.infer; export type CodexV3FullCredentialBundle = z.infer; export type CodexV3GenerationReportInput = z.infer; export type CodexV3GenerationReportResponse = z.infer; export type CodexV4AccessObservationInput = z.infer; export type CodexV4AccessObservationResponse = z.infer; export type CodexV5CreateDeviceSessionInput = z.infer; export type CodexV5CreateDeviceSessionResponse = z.infer; export type CodexV5DeviceSessionBundle = z.infer; export type CodexV5AcknowledgeDeviceSessionInput = z.infer; export type CodexV5AcknowledgeDeviceSessionResponse = z.infer; export type CodexV5HeartbeatDeviceSessionInput = z.infer; export type CodexV5HeartbeatDeviceSessionResponse = z.infer; export type CodexV5ReleaseDeviceSessionInput = z.infer; export type CodexV5ReleaseDeviceSessionResponse = z.infer; export type CodexV5GenerationReportInput = z.infer; export type CodexV5GenerationReportResponse = z.infer; export type CodexV6DeviceDescriptor = z.infer; export type CodexV6AccountRequest = z.infer; export type CodexV6CreateAccountRequestInput = z.infer; export type CodexV6AccountRequestResponse = z.infer; export type CodexV6AccountRequestListResponse = z.infer; export type CodexV6AdminAccountRequestListQuery = z.infer; export type CodexV6AdminReplacementCandidateQuery = z.infer; export type CodexV6CancelAccountRequestInput = z.infer; export type CodexV6AdminReviewAccountRequestInput = z.infer; export type CodexV6DeviceBinding = z.infer; export type CodexV6DeviceBindingListResponse = z.infer; export type CodexV6AdminReplacementCandidateListResponse = z.infer; export type CodexV6ReconcileDeviceAccessInput = z.infer; export type CodexV6ReconcileDeviceAccessResponse = z.infer; export type CodexV6AdminCreateDeviceBindingInput = z.infer; export type CodexV6AdminCreateDeviceBindingResponse = z.infer; export type CodexV6AdminReplaceDeviceTokenInput = z.infer; export type CodexV6AdminReplaceDeviceTokenResponse = z.infer; export type CodexV6FullCredentialDeliveryInput = z.infer; export type CodexV6FullCredentialDeliveryResponse = z.infer; export type CodexV6FullCredentialBundle = z.infer; export type CodexV6AcknowledgeFullCredentialDeliveryInput = z.infer; export type CodexV6AcknowledgeFullCredentialDeliveryResponse = z.infer; export type CodexV6GenerationReportInput = z.infer; export type CodexV6GenerationReportResponse = z.infer; export type CodexV6CredentialHealthReportInput = z.infer; export type CodexV6CredentialHealthReportResponse = z.infer; export type CodexTokenPoolV4AssignmentTarget = z.infer; export type CodexTokenPoolV4EnrollmentConfiguration = z.infer; export type CodexTokenPoolV4DirectoryResolveResponse = z.infer; export type CodexTokenPoolV4UploadInput = z.infer; export type CodexTokenPoolV4UploadResponse = z.infer; export declare function codexAccountLoginCredentialsPath(accountId: string): string; export declare function codexAdminCredentialVersionsPath(accountId: string): string; export declare function codexAdminRefreshPath(accountId: string): string; export declare function codexAdminRenewPath(accountId: string): string; export declare function codexAdminAssignmentPath(assignmentId: string): string; export declare function codexV3EnrollmentResolvePath(clientRequestId: string): string; export declare function codexV3AssignmentFullCredentialDeliveriesPath(assignmentId: string): string; export declare function codexV3AssignmentFullCredentialDeliveryResolvePath(assignmentId: string, clientRequestId: string): string; export declare function codexV3FullCredentialDeliveryAckPath(deliveryId: string): string; export declare function codexV3LineageGenerationReportsPath(lineageId: string): string; export declare function codexV3LineageGenerationReportResolvePath(lineageId: string, clientRequestId: string): string; export declare function codexV4LineageAccessObservationPath(lineageId: string): string; export declare function codexV5AssignmentDeviceSessionsPath(assignmentId: string): string; export declare function codexV5AssignmentDeviceSessionResolvePath(assignmentId: string, clientRequestId: string): string; export declare function codexV5DeviceSessionActionPath(sessionId: string, action: "ack" | "heartbeat" | "release"): string; export declare function codexV5LineageGenerationReportsPath(lineageId: string): string; export declare function codexV6AccountRequestPath(requestId: string): string; export declare function codexV6AccountRequestActionPath(requestId: string, action: "cancel"): string; export declare function codexV6AccountRequestDeviceBindingsPath(requestId: string): string; export declare function codexV6AdminAccountRequestDeviceBindingsPath(requestId: string): string; export declare function codexV6AdminDeviceBindingReplacementPath(requestId: string, bindingId: string): string; export declare function codexV6AdminAccountRequestPath(requestId: string): string; export declare function codexV6AdminAccountRequestsPath(query?: CodexV6AdminAccountRequestListQuery): string; export declare function codexV6AdminReplacementCandidatesPath(query: CodexV6AdminReplacementCandidateQuery): string; export declare function codexV6AdminAccountRequestReviewPath(requestId: string): string; export declare function codexV6DeviceBindingFullCredentialDeliveriesPath(bindingId: string): string; export declare function codexV6DeviceBindingFullCredentialDeliveryResolvePath(bindingId: string, clientRequestId: string): string; export declare function codexV6FullCredentialDeliveryAckPath(deliveryId: string): string; export declare function codexV6BindingGenerationReportsPath(bindingId: string): string; export declare function codexV6BindingGenerationReportResolvePath(bindingId: string, clientRequestId: string): string; export declare function codexV6BindingHealthReportsPath(bindingId: string): string; export declare function codexTokenPoolV4DirectoryResolvePath(principal: string): string; export declare function codexTokenPoolV4UploadResolvePath(clientRequestId: string): string; export declare const CodexV6DeviceReleaseInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; installationId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; clientRequestId: z.ZodString; }, z.core.$strict>; export declare const CodexV6DeviceReleaseAckInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; installationId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; clientRequestId: z.ZodString; localCleanupCompleted: z.ZodLiteral; }, z.core.$strict>; export declare const CodexV6DeviceReleaseResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; replayed: z.ZodBoolean; release: z.ZodObject<{ id: z.ZodString; clientRequestId: z.ZodString; bindingId: z.ZodString; installationId: z.ZodString; credentialLineageId: z.ZodString; generationVersion: z.ZodNumber; status: z.ZodEnum<{ PREPARED: "PREPARED"; RELEASED: "RELEASED"; }>; preparedAt: z.ZodString; releasedAt: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; export declare const CodexV6ReturnToPoolInputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; clientRequestId: z.ZodString; }, z.core.$strict>; export declare const CodexV6ReturnToPoolResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<6>; bindingId: z.ZodString; poolEntryId: z.ZodString; status: z.ZodLiteral<"UNASSIGNED">; replayed: z.ZodBoolean; }, z.core.$strict>; export type CodexV6DeviceReleaseInput = z.infer; export type CodexV6DeviceReleaseResponse = z.infer;