import { z } from 'zod'; export declare const userSessionSignInContextGuard: z.ZodObject<{ ip: z.ZodOptional; userAgent: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; botScore: z.ZodOptional; botVerified: z.ZodOptional; }, "strip", z.ZodString, z.objectOutputType<{ ip: z.ZodOptional; userAgent: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; botScore: z.ZodOptional; botVerified: z.ZodOptional; }, z.ZodString, "strip">, z.objectInputType<{ ip: z.ZodOptional; userAgent: z.ZodOptional; country: z.ZodOptional; city: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; botScore: z.ZodOptional; botVerified: z.ZodOptional; }, z.ZodString, "strip">>; export type UserSessionSignInContext = z.infer; export declare enum SessionGrantRevokeTarget { All = "all", FirstParty = "firstParty" } /** * Public session shape for session management APIs. * * We intentionally expose only fields needed by management/account-center session views and actions. * Internal OIDC storage fields (e.g. `tenantId`, `id`, `consumedAt`) are omitted on purpose. */ export declare const userExtendedSessionGuard: z.ZodObject<{ payload: z.ZodObject<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">>; lastSubmission: z.ZodNullable; userId: z.ZodString; verificationRecords: z.ZodArray; identifier: z.ZodObject<{ type: z.ZodUnion<[z.ZodNativeEnum, z.ZodNativeEnum]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }>; verified: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject; socialUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; encryptedTokenSet: z.ZodOptional; expiresAt: z.ZodOptional; tokenType: z.ZodOptional; hasRefreshToken: z.ZodBoolean; }, "strip", z.ZodTypeAny, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }>; }, "strip", z.ZodTypeAny, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }>>; connectorSession: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">>>; }, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; issuer: z.ZodOptional; connectorId: z.ZodString; } & { enterpriseSsoUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodType, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject; userId: z.ZodString; secret: z.ZodOptional; verified: z.ZodBoolean; }, "secret">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }>, z.ZodObject; userId: z.ZodString; code: z.ZodOptional; backupCodes: z.ZodOptional>; }, "backupCodes">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodString; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodOptional; authenticationRpId: z.ZodOptional; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo" | "authenticationRpId">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral; verified: z.ZodBoolean; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; oneTimeTokenContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { jitOrganizationIds?: string[] | undefined; }, { jitOrganizationIds?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }>, z.ZodObject; identifier: z.ZodObject<{ type: z.ZodNativeEnum; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier; }>; passwordEncrypted: z.ZodOptional; passwordEncryptionMethod: z.ZodOptional>; }, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }>]>, "many">; signInContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }>>; clientId: z.ZodNullable; accountId: z.ZodNullable; expiresAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }>; export declare const getUserSessionsResponseGuard: z.ZodObject<{ sessions: z.ZodArray; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">>; lastSubmission: z.ZodNullable; userId: z.ZodString; verificationRecords: z.ZodArray; identifier: z.ZodObject<{ type: z.ZodUnion<[z.ZodNativeEnum, z.ZodNativeEnum]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }>; verified: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject; socialUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; encryptedTokenSet: z.ZodOptional; expiresAt: z.ZodOptional; tokenType: z.ZodOptional; hasRefreshToken: z.ZodBoolean; }, "strip", z.ZodTypeAny, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }>; }, "strip", z.ZodTypeAny, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }>>; connectorSession: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">>>; }, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; issuer: z.ZodOptional; connectorId: z.ZodString; } & { enterpriseSsoUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodType, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject; userId: z.ZodString; secret: z.ZodOptional; verified: z.ZodBoolean; }, "secret">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }>, z.ZodObject; userId: z.ZodString; code: z.ZodOptional; backupCodes: z.ZodOptional>; }, "backupCodes">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodString; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodOptional; authenticationRpId: z.ZodOptional; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo" | "authenticationRpId">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral; verified: z.ZodBoolean; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; oneTimeTokenContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { jitOrganizationIds?: string[] | undefined; }, { jitOrganizationIds?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }>, z.ZodObject; identifier: z.ZodObject<{ type: z.ZodNativeEnum; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier; }>; passwordEncrypted: z.ZodOptional; passwordEncryptionMethod: z.ZodOptional>; }, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }>]>, "many">; signInContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }>>; clientId: z.ZodNullable; accountId: z.ZodNullable; expiresAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { sessions: { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }[]; }, { sessions: { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }[]; }>; /** Response type for `GET /users/:userId/sessions`. */ export type GetUserSessionsResponse = z.infer; export declare const getUserSessionResponseGuard: z.ZodObject<{ payload: z.ZodObject<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ exp: z.ZodNumber; iat: z.ZodNumber; jti: z.ZodString; uid: z.ZodString; kind: z.ZodLiteral<"Session">; loginTs: z.ZodNumber; accountId: z.ZodString; authorizations: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ sid: z.ZodOptional; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">>>>; }, z.ZodUnknown, "strip">>; lastSubmission: z.ZodNullable; userId: z.ZodString; verificationRecords: z.ZodArray; identifier: z.ZodObject<{ type: z.ZodUnion<[z.ZodNativeEnum, z.ZodNativeEnum]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }>; verified: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }, { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject<{ id: z.ZodString; templateType: z.ZodNativeEnum; verified: z.ZodBoolean; } & { type: z.ZodLiteral; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }, { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; }>, z.ZodObject; socialUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; encryptedTokenSet: z.ZodOptional; expiresAt: z.ZodOptional; tokenType: z.ZodOptional; hasRefreshToken: z.ZodBoolean; }, "strip", z.ZodTypeAny, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }, { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }>; }, "strip", z.ZodTypeAny, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }, { metadata: { hasRefreshToken: boolean; scope?: string | undefined; expiresAt?: number | undefined; tokenType?: string | undefined; }; encryptedTokenSetBase64: string; }>>; connectorSession: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodUnknown, z.objectOutputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">, z.objectInputType<{ nonce: z.ZodOptional; redirectUri: z.ZodOptional; connectorId: z.ZodOptional; connectorFactoryId: z.ZodOptional; jti: z.ZodOptional; state: z.ZodOptional; }, z.ZodUnknown, "strip">>>; }, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; issuer: z.ZodOptional; connectorId: z.ZodString; } & { enterpriseSsoUserInfo: z.ZodOptional; phone: z.ZodOptional; name: z.ZodOptional; avatar: z.ZodOptional; rawData: z.ZodOptional>; }, "strip", z.ZodType, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }, { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }, { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; }>, z.ZodObject; userId: z.ZodString; secret: z.ZodOptional; verified: z.ZodBoolean; }, "secret">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }, { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; }>, z.ZodObject; userId: z.ZodString; code: z.ZodOptional; backupCodes: z.ZodOptional>; }, "backupCodes">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }, { type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodString; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; }>, z.ZodObject; registrationRpId: z.ZodOptional; authenticationChallenge: z.ZodOptional; registrationInfo: z.ZodOptional; rpId: z.ZodString; credentialId: z.ZodString; publicKey: z.ZodString; transports: z.ZodArray, "many">; counter: z.ZodNumber; agent: z.ZodString; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }, { type: import("../foundations/index.js").MfaFactor.WebAuthn; rpId: string; credentialId: string; publicKey: string; transports: ("usb" | "nfc" | "ble" | "internal" | "cable" | "hybrid" | "smart-card")[]; counter: number; agent: string; name?: string | undefined; }>>; } & { type: z.ZodLiteral; userId: z.ZodOptional; authenticationRpId: z.ZodOptional; }, "registrationChallenge" | "authenticationChallenge" | "registrationInfo" | "authenticationRpId">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }, { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral; verified: z.ZodBoolean; identifier: z.ZodObject<{ type: z.ZodLiteral; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }, { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }>; oneTimeTokenContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { jitOrganizationIds?: string[] | undefined; }, { jitOrganizationIds?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }, { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; }>, z.ZodObject; identifier: z.ZodObject<{ type: z.ZodNativeEnum; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: import("../foundations/index.js").SignInIdentifier; }, { value: string; type: import("../foundations/index.js").SignInIdentifier; }>; passwordEncrypted: z.ZodOptional; passwordEncryptionMethod: z.ZodOptional>; }, "passwordEncrypted" | "passwordEncryptionMethod">, "strip", z.ZodTypeAny, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }, { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; }>]>, "many">; signInContext: z.ZodOptional>; }, "strip", z.ZodTypeAny, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }, { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; }>>; clientId: z.ZodNullable; accountId: z.ZodNullable; expiresAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }, { accountId: string | null; expiresAt: number; payload: { uid: string; exp: number; iat: number; jti: string; kind: "Session"; loginTs: number; accountId: string; authorizations?: Record; grantId: z.ZodOptional; persistsLogout: z.ZodOptional; }, z.ZodUnknown, "strip">> | undefined; } & { [k: string]: unknown; }; lastSubmission: { userId: string; interactionEvent: import("./interactions.js").InteractionEvent; verificationRecords: ({ type: import("./index.js").VerificationType.BackupCode; id: string; userId: string; code?: string | undefined; } | { type: import("./index.js").VerificationType.EmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.PhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaEmailVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.MfaPhoneVerificationCode; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Phone; }; templateType: import("../foundations/index.js").TemplateType; verified: boolean; } | { type: import("./index.js").VerificationType.NewPasswordIdentity; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier; }; } | { type: import("./index.js").VerificationType.OneTimeToken; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier.Email; }; verified: boolean; oneTimeTokenContext?: { jitOrganizationIds?: string[] | undefined; } | undefined; } | { type: import("./index.js").VerificationType.Password; id: string; identifier: { value: string; type: import("../foundations/index.js").SignInIdentifier | import("../foundations/index.js").AdditionalIdentifier; }; verified: boolean; } | { type: import("./index.js").VerificationType.Social; id: string; connectorId: string; socialUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.TOTP; id: string; userId: string; verified: boolean; } | { type: import("./index.js").VerificationType.EnterpriseSso; id: string; connectorId: string; issuer?: string | undefined; enterpriseSsoUserInfo?: { id: string; name?: string | undefined; email?: string | undefined; phone?: string | undefined; avatar?: string | undefined; rawData?: import("@withtyped/server/lib/types.js").Json | undefined; } | undefined; } | { type: import("./index.js").VerificationType.WebAuthn; id: string; userId: string; verified: boolean; registrationRpId?: string | undefined; } | { type: import("./index.js").VerificationType.SignInPasskey; id: string; verified: boolean; userId?: string | undefined; registrationRpId?: string | undefined; })[]; signInContext?: Record | undefined; } | null; clientId: string | null; }>; /** Response type for `GET /users/:userId/sessions/:sessionId`. */ export type GetUserSessionResponse = z.infer; export declare const userApplicationGrantPayloadGuard: z.ZodObject<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, "strip", z.ZodUnknown, z.objectOutputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">, z.objectInputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">>; export type UserApplicationGrantPayload = z.infer; export declare const userApplicationGrantGuard: z.ZodObject<{ id: z.ZodString; payload: z.ZodObject<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, "strip", z.ZodUnknown, z.objectOutputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">, z.objectInputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">>; expiresAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }, { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }>; export type UserApplicationGrant = z.infer; export declare const getUserApplicationGrantsResponseGuard: z.ZodObject<{ grants: z.ZodArray; clientId: z.ZodString; accountId: z.ZodString; }, "strip", z.ZodUnknown, z.objectOutputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">, z.objectInputType<{ /** Expiration time of the grant in seconds since the epoch */ exp: z.ZodNumber; /** Issued at time of the grant in seconds since the epoch */ iat: z.ZodNumber; jti: z.ZodString; kind: z.ZodLiteral<"Grant">; clientId: z.ZodString; accountId: z.ZodString; }, z.ZodUnknown, "strip">>; expiresAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }, { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }>, "many">; }, "strip", z.ZodTypeAny, { grants: { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }[]; }, { grants: { id: string; expiresAt: number; payload: { exp: number; iat: number; jti: string; kind: "Grant"; accountId: string; clientId: string; } & { [k: string]: unknown; }; }[]; }>; export type GetUserApplicationGrantsResponse = z.infer;