import type { RequestInit, RequestInfo } from "./internal/builtin-types.js"; import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.js"; export type { Logger, LogLevel } from "./internal/utils/log.js"; import * as Opts from "./internal/request-options.js"; import * as Errors from "./core/error.js"; import * as Pagination from "./core/pagination.js"; import { type CursorParams, CursorResponse } from "./core/pagination.js"; import * as Uploads from "./core/uploads.js"; import * as API from "./resources/index.js"; import { APIPromise } from "./core/api-promise.js"; import { Aggregation, AggregationGroupBy, AggregationMethod, AggregationMetric, AggregationWindow, Aggregations } from "./resources/aggregations.js"; import { Analytics, AnalyticsEventInput } from "./resources/analytics.js"; import { AppResponse, Apps } from "./resources/apps.js"; import { ClientAuth, CustomJwtAuthenticateRequestBody, CustomJwtLinkRequestBody, CustomOAuthProviderID, ExternalOAuthProviderID, FarcasterAuthenticateRequestBody, FarcasterConnectInitResponseBody, FarcasterConnectStatusCompletedResponseBody, FarcasterConnectStatusPendingResponseBody, FarcasterInitRequestBody, FarcasterLinkRequestBody, FarcasterSignerInitRequestBody, FarcasterSignerInitResponseBody, FarcasterSignerStatusResponseBody, FarcasterUnlinkRequestBody, FarcasterV2AuthenticateRequestBody, FarcasterV2InitRequestBody, FarcasterV2InitResponseBody, GuestAuthenticateRequestBody, MfaPasskeyEnrollmentRequestBody, MfaPasskeyInitRequestBody, MfaPasskeyInitResponseBody, MfaPasskeyVerifyRequestBody, MfaSMSEnrollRequestBody, MfaSMSInitRequestBody, MfaSMSVerifyRequestBody, MfaTotpInitResponseBody, MfaTotpInput, MfaVerifyResponseBody, OAuthAuthenticateRequestBody, OAuthAuthorizationCodeRequestBody, OAuthInitRequestBody, OAuthInitResponseBody, OAuthLinkRequestBody, OAuthLinkResponseBody, OAuthProviderID, OAuthUnlinkRequestBody, OAuthVerifyRequestBody, OAuthVerifyResponseBody, OptionalRefreshTokenInput, PasskeyAuthenticateRequestBody, PasskeyInitAuthenticateResponseBody, PasskeyInitLinkResponseBody, PasskeyInitRegisterResponseBody, PasskeyInitRequestBody, PasskeyLinkRequestBody, PasskeyRegisterRequestBody, PasskeyUnlinkRequestBody, PasswordlessAuthenticateRequestBody, PasswordlessInitRequestBody, PasswordlessLinkRequestBody, PasswordlessSMSAuthenticateRequestBody, PasswordlessSMSInitRequestBody, PasswordlessSMSLinkRequestBody, PasswordlessSMSUnlinkRequestBody, PasswordlessSMSUpdateRequestBody, PasswordlessUnlinkRequestBody, PasswordlessUpdateRequestBody, PrivyOAuthProviderID, SiweAuthenticateRequestBody, SiweInitRequestBody, SiweInitResponseBody, SiweLinkRequestBody, SiweLinkSmartWalletRequestBody, SiweUnlinkRequestBody, SiwsAuthenticateRequestBody, SiwsInitRequestBody, SiwsInitResponseBody, SiwsLinkRequestBody, SiwsUnlinkRequestBody, TelegramAuthenticateRequestBody, TelegramLinkRequestBody, TelegramUnlinkRequestBody } from "./resources/client-auth.js"; import { CrossApp, CrossAppConnectionsResponse } from "./resources/cross-app.js"; import { EmbeddedWallets, RecoveryConfigurationICloudRequestBody, RecoveryConfigurationICloudResponseBody, RecoveryKeyMaterialRequestBody, RecoveryKeyMaterialResponseBody, RecoveryOAuthAuthenticateResponseBody, RecoveryOAuthCallbackICloudExpoRequestBody, RecoveryOAuthInitICloudRequestBody, RecoveryOAuthInitRequestBody, SmartWalletConfiguration, SmartWalletConfigurationInput } from "./resources/embedded-wallets.js"; import { CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, CoinbaseOnRampStatusResponse, Funding, MoonpayOnRampSignInput, MoonpayOnRampSignResponse } from "./resources/funding.js"; import { KeyQuorum, KeyQuorumCreateParams, KeyQuorumDeleteParams, KeyQuorumDeleteResponse, KeyQuorumUpdateParams, KeyQuorums } from "./resources/key-quorums.js"; import { Policies, Policy, PolicyCreateParams, PolicyCreateRuleParams, PolicyCreateRuleResponse, PolicyDeleteParams, PolicyDeleteResponse, PolicyDeleteRuleParams, PolicyDeleteRuleResponse, PolicyGetRuleParams, PolicyGetRuleResponse, PolicyUpdateParams, PolicyUpdateRuleParams, PolicyUpdateRuleResponse, SuiTransactionCommandCondition, SuiTransactionCommandOperator, SuiTransferObjectsCommandCondition, SuiTransferObjectsCommandField, TronTransactionCondition } from "./resources/policies.js"; import { TransactionGetResponse, TransactionScanningRequestBody, TransactionScanningResponseBody, Transactions } from "./resources/transactions.js"; import { AuthenticatedUser, CrossAppEmbeddedWallet, CrossAppSmartWallet, CustomMetadata, EmbeddedWalletRecoveryMethod, LinkedAccount, LinkedAccountAppleInput, LinkedAccountAppleOAuth, LinkedAccountAuthorizationKey, LinkedAccountBaseWallet, LinkedAccountBitcoinSegwitEmbeddedWallet, LinkedAccountBitcoinTaprootEmbeddedWallet, LinkedAccountCrossApp, LinkedAccountCurveSigningEmbeddedWallet, LinkedAccountCustomJwt, LinkedAccountCustomJwtInput, LinkedAccountCustomOAuth, LinkedAccountDiscordInput, LinkedAccountDiscordOAuth, LinkedAccountEmail, LinkedAccountEmailInput, LinkedAccountEmbeddedWallet, LinkedAccountEmbeddedWalletWithID, LinkedAccountEthereum, LinkedAccountEthereumEmbeddedWallet, LinkedAccountFarcaster, LinkedAccountFarcasterInput, LinkedAccountGitHubInput, LinkedAccountGitHubOAuth, LinkedAccountGoogleInput, LinkedAccountGoogleOAuth, LinkedAccountInput, LinkedAccountInstagramInput, LinkedAccountInstagramOAuth, LinkedAccountLineInput, LinkedAccountLineOAuth, LinkedAccountLinkedInInput, LinkedAccountLinkedInOAuth, LinkedAccountPasskey, LinkedAccountPhone, LinkedAccountPhoneInput, LinkedAccountSmartWallet, LinkedAccountSolana, LinkedAccountSolanaEmbeddedWallet, LinkedAccountSpotifyInput, LinkedAccountSpotifyOAuth, LinkedAccountTelegram, LinkedAccountTelegramInput, LinkedAccountTiktokInput, LinkedAccountTiktokOAuth, LinkedAccountTwitchInput, LinkedAccountTwitchOAuth, LinkedAccountTwitterInput, LinkedAccountTwitterOAuth, LinkedAccountType, LinkedAccountWalletInput, LinkedMfaMethod, OAuthTokens, PasskeyMfaMethod, SMSMfaMethod, SmartWalletType, TotpMfaMethod, User, UserBatchCreateInput, UserCreateParams, UserGetByCustomAuthIDParams, UserGetByDiscordUsernameParams, UserGetByEmailAddressParams, UserGetByFarcasterIDParams, UserGetByGitHubUsernameParams, UserGetByPhoneNumberParams, UserGetBySmartWalletAddressParams, UserGetByTelegramUserIDParams, UserGetByTelegramUsernameParams, UserGetByTwitterSubjectParams, UserGetByTwitterUsernameParams, UserGetByWalletAddressParams, UserListParams, UserPregenerateWalletsParams, UserSearchParams, UserSetCustomMetadataParams, UserUnlinkLinkedAccountParams, UserWithIdentityToken, Users, UsersCursor } from "./resources/users.js"; import { CurveSigningChainType, CustodialWallet, CustodialWalletChainType, CustodialWalletCreateInput, CustodialWalletProvider, EthereumPersonalSignRpcInput, EthereumPersonalSignRpcResponse, EthereumSecp256k1SignRpcInput, EthereumSecp256k1SignRpcResponse, EthereumSendTransactionRpcInput, EthereumSendTransactionRpcResponse, EthereumSign7702AuthorizationRpcInput, EthereumSign7702AuthorizationRpcResponse, EthereumSignTransactionRpcInput, EthereumSignTransactionRpcResponse, EthereumSignTypedDataRpcInput, EthereumSignTypedDataRpcResponse, EthereumSignUserOperationRpcInput, EthereumSignUserOperationRpcResponse, ExtendedChainType, FirstClassChainType, HpkeImportConfig, SolanaSignAndSendTransactionRpcInput, SolanaSignAndSendTransactionRpcResponse, SolanaSignMessageRpcInput, SolanaSignMessageRpcResponse, SolanaSignTransactionRpcInput, SolanaSignTransactionRpcResponse, SuiCommandName, Wallet, WalletAuthenticateWithJwtParams, WalletAuthenticateWithJwtResponse, WalletChainType, WalletCreateParams, WalletCreateWalletsWithRecoveryParams, WalletCreateWalletsWithRecoveryResponse, WalletCustodian, WalletExportParams, WalletExportResponse, WalletInitImportParams, WalletInitImportResponse, WalletListParams, WalletRawSignParams, WalletRawSignResponse, WalletRevokeResponse, WalletRpcParams, WalletRpcResponse, WalletSubmitImportParams, WalletUpdateParams, Wallets, WalletsCursor } from "./resources/wallets/wallets.js"; import { type Fetch } from "./internal/builtin-types.js"; import { HeadersLike, NullableHeaders } from "./internal/headers.js"; import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js"; import { type LogLevel, type Logger } from "./internal/utils/log.js"; declare const environments: { production: string; staging: string; }; type Environment = keyof typeof environments; export interface ClientOptions { /** * App secret authentication. */ appID?: string | undefined; /** * App secret authentication. */ appSecret?: string | undefined; /** * Specifies the environment to use for the API. * * Each environment maps to a different base URL: * - `production` corresponds to `https://api.privy.io` * - `staging` corresponds to `https://api.staging.privy.io` */ environment?: Environment | undefined; /** * Override the default base URL for the API, e.g., "https://api.example.com/v2/" * * Defaults to process.env['PRIVY_BASE_URL']. */ baseURL?: string | null | undefined; /** * The maximum amount of time (in milliseconds) that the client should wait for a response * from the server before timing out a single request. * * Note that request timeouts are retried by default, so in a worst-case scenario you may wait * much longer than this timeout before the promise succeeds or fails. * * @unit milliseconds */ timeout?: number | undefined; /** * Additional `RequestInit` options to be passed to `fetch` calls. * Properties will be overridden by per-request `fetchOptions`. */ fetchOptions?: MergedRequestInit | undefined; /** * Specify a custom `fetch` function implementation. * * If not provided, we expect that `fetch` is defined globally. */ fetch?: Fetch | undefined; /** * The maximum number of times that the client will retry a request in case of a * temporary failure, like a network error or a 5XX error from the server. * * @default 2 */ maxRetries?: number | undefined; /** * Default headers to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * header to `null` in request options. */ defaultHeaders?: HeadersLike | undefined; /** * Default query parameters to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * param to `undefined` in request options. */ defaultQuery?: Record | undefined; /** * Set the log level. * * Defaults to process.env['PRIVY_LOG'] or 'warn' if it isn't set. */ logLevel?: LogLevel | undefined; /** * Set the logger. * * Defaults to globalThis.console. */ logger?: Logger | undefined; } /** * API Client for interfacing with the Privy API. */ export declare class Privy { #private; appID: string; appSecret: string; baseURL: string; maxRetries: number; timeout: number; logger: Logger; logLevel: LogLevel | undefined; fetchOptions: MergedRequestInit | undefined; private fetch; protected idempotencyHeader?: string; private _options; /** * API Client for interfacing with the Privy API. * * @param {string | undefined} [opts.appID=process.env['PRIVY_APP_ID'] ?? undefined] * @param {string | undefined} [opts.appSecret=process.env['PRIVY_APP_SECRET'] ?? undefined] * @param {Environment} [opts.environment=production] - Specifies the environment URL to use for the API. * @param {string} [opts.baseURL=process.env['PRIVY_BASE_URL'] ?? https://api.privy.io] - Override the default base URL for the API. * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out. * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls. * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation. * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request. * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API. * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API. */ constructor({ baseURL, appID, appSecret, ...opts }?: ClientOptions); /** * Create a new client instance re-using the same options given to the current client with optional overriding. */ withOptions(options: Partial): this; protected defaultQuery(): Record | undefined; protected validateHeaders({ values, nulls }: NullableHeaders): void; protected authHeaders(opts: FinalRequestOptions): Promise; protected stringifyQuery(query: Record): string; private getUserAgent; protected defaultIdempotencyKey(): string; protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError; buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string; /** * Used as a callback for mutating the given `FinalRequestOptions` object. */ protected prepareOptions(options: FinalRequestOptions): Promise; /** * Used as a callback for mutating the given `RequestInit` object. * * This is useful for cases where you want to add certain headers based off of * the request properties, e.g. `method` or `url`. */ protected prepareRequest(request: RequestInit, { url, options }: { url: string; options: FinalRequestOptions; }): Promise; get(path: string, opts?: PromiseOrValue): APIPromise; post(path: string, opts?: PromiseOrValue): APIPromise; patch(path: string, opts?: PromiseOrValue): APIPromise; put(path: string, opts?: PromiseOrValue): APIPromise; delete(path: string, opts?: PromiseOrValue): APIPromise; private methodRequest; request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise; private makeRequest; getAPIList = Pagination.AbstractPage>(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions): Pagination.PagePromise; requestAPIList = Pagination.AbstractPage>(Page: new (...args: ConstructorParameters) => PageClass, options: FinalRequestOptions): Pagination.PagePromise; fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise; private shouldRetry; private retryRequest; private calculateDefaultRetryTimeoutMillis; buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: { retryCount?: number; }): Promise<{ req: FinalizedRequestInit; url: string; timeout: number; }>; private buildHeaders; private buildBody; static Privy: typeof Privy; static DEFAULT_TIMEOUT: number; static PrivyError: typeof Errors.PrivyError; static APIError: typeof Errors.APIError; static APIConnectionError: typeof Errors.APIConnectionError; static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError; static APIUserAbortError: typeof Errors.APIUserAbortError; static NotFoundError: typeof Errors.NotFoundError; static ConflictError: typeof Errors.ConflictError; static RateLimitError: typeof Errors.RateLimitError; static BadRequestError: typeof Errors.BadRequestError; static AuthenticationError: typeof Errors.AuthenticationError; static InternalServerError: typeof Errors.InternalServerError; static PermissionDeniedError: typeof Errors.PermissionDeniedError; static UnprocessableEntityError: typeof Errors.UnprocessableEntityError; static toFile: typeof Uploads.toFile; wallets: API.Wallets; apps: API.Apps; embeddedWallets: API.EmbeddedWallets; clientAuth: API.ClientAuth; crossApp: API.CrossApp; funding: API.Funding; users: API.Users; analytics: API.Analytics; policies: API.Policies; transactions: API.Transactions; keyQuorums: API.KeyQuorums; aggregations: API.Aggregations; } export declare namespace Privy { export type RequestOptions = Opts.RequestOptions; export import Cursor = Pagination.Cursor; export { type CursorParams as CursorParams, type CursorResponse as CursorResponse }; export { Wallets as Wallets, type CurveSigningChainType as CurveSigningChainType, type FirstClassChainType as FirstClassChainType, type Wallet as Wallet, type WalletChainType as WalletChainType, type WalletRevokeResponse as WalletRevokeResponse, type ExtendedChainType as ExtendedChainType, type WalletCustodian as WalletCustodian, type CustodialWalletProvider as CustodialWalletProvider, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWallet as CustodialWallet, type HpkeImportConfig as HpkeImportConfig, type SuiCommandName as SuiCommandName, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type WalletExportResponse as WalletExportResponse, type WalletInitImportResponse as WalletInitImportResponse, type WalletRawSignResponse as WalletRawSignResponse, type WalletRpcResponse as WalletRpcResponse, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletInitImportParams as WalletInitImportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, type WalletSubmitImportParams as WalletSubmitImportParams, type WalletUpdateParams as WalletUpdateParams, type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams, }; export { Apps as Apps, type AppResponse as AppResponse }; export { EmbeddedWallets as EmbeddedWallets, type RecoveryConfigurationICloudRequestBody as RecoveryConfigurationICloudRequestBody, type RecoveryConfigurationICloudResponseBody as RecoveryConfigurationICloudResponseBody, type RecoveryKeyMaterialRequestBody as RecoveryKeyMaterialRequestBody, type RecoveryKeyMaterialResponseBody as RecoveryKeyMaterialResponseBody, type RecoveryOAuthAuthenticateResponseBody as RecoveryOAuthAuthenticateResponseBody, type RecoveryOAuthCallbackICloudExpoRequestBody as RecoveryOAuthCallbackICloudExpoRequestBody, type RecoveryOAuthInitICloudRequestBody as RecoveryOAuthInitICloudRequestBody, type RecoveryOAuthInitRequestBody as RecoveryOAuthInitRequestBody, type SmartWalletConfiguration as SmartWalletConfiguration, type SmartWalletConfigurationInput as SmartWalletConfigurationInput, }; export { ClientAuth as ClientAuth, type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasskeyAuthenticateRequestBody as PasskeyAuthenticateRequestBody, type PasskeyInitAuthenticateResponseBody as PasskeyInitAuthenticateResponseBody, type PasskeyInitLinkResponseBody as PasskeyInitLinkResponseBody, type PasskeyInitRegisterResponseBody as PasskeyInitRegisterResponseBody, type PasskeyInitRequestBody as PasskeyInitRequestBody, type PasskeyLinkRequestBody as PasskeyLinkRequestBody, type PasskeyRegisterRequestBody as PasskeyRegisterRequestBody, type PasskeyUnlinkRequestBody as PasskeyUnlinkRequestBody, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type ExternalOAuthProviderID as ExternalOAuthProviderID, type PrivyOAuthProviderID as PrivyOAuthProviderID, type CustomOAuthProviderID as CustomOAuthProviderID, type OAuthProviderID as OAuthProviderID, }; export { CrossApp as CrossApp, type CrossAppConnectionsResponse as CrossAppConnectionsResponse }; export { Funding as Funding, type CoinbaseOnRampInitInput as CoinbaseOnRampInitInput, type CoinbaseOnRampInitResponse as CoinbaseOnRampInitResponse, type CoinbaseOnRampStatusResponse as CoinbaseOnRampStatusResponse, type MoonpayOnRampSignInput as MoonpayOnRampSignInput, type MoonpayOnRampSignResponse as MoonpayOnRampSignResponse, }; export { Users as Users, type AuthenticatedUser as AuthenticatedUser, type LinkedAccount as LinkedAccount, type User as User, type UserWithIdentityToken as UserWithIdentityToken, type LinkedAccountEmail as LinkedAccountEmail, type LinkedAccountPhone as LinkedAccountPhone, type LinkedAccountBaseWallet as LinkedAccountBaseWallet, type LinkedAccountEthereum as LinkedAccountEthereum, type SmartWalletType as SmartWalletType, type LinkedAccountSmartWallet as LinkedAccountSmartWallet, type LinkedAccountSolana as LinkedAccountSolana, type LinkedAccountFarcaster as LinkedAccountFarcaster, type LinkedAccountPasskey as LinkedAccountPasskey, type LinkedAccountTelegram as LinkedAccountTelegram, type EmbeddedWalletRecoveryMethod as EmbeddedWalletRecoveryMethod, type LinkedAccountEthereumEmbeddedWallet as LinkedAccountEthereumEmbeddedWallet, type LinkedAccountSolanaEmbeddedWallet as LinkedAccountSolanaEmbeddedWallet, type LinkedAccountBitcoinSegwitEmbeddedWallet as LinkedAccountBitcoinSegwitEmbeddedWallet, type LinkedAccountBitcoinTaprootEmbeddedWallet as LinkedAccountBitcoinTaprootEmbeddedWallet, type LinkedAccountCurveSigningEmbeddedWallet as LinkedAccountCurveSigningEmbeddedWallet, type LinkedAccountEmbeddedWallet as LinkedAccountEmbeddedWallet, type LinkedAccountEmbeddedWalletWithID as LinkedAccountEmbeddedWalletWithID, type LinkedAccountGoogleOAuth as LinkedAccountGoogleOAuth, type LinkedAccountTwitterOAuth as LinkedAccountTwitterOAuth, type LinkedAccountDiscordOAuth as LinkedAccountDiscordOAuth, type LinkedAccountGitHubOAuth as LinkedAccountGitHubOAuth, type LinkedAccountLinkedInOAuth as LinkedAccountLinkedInOAuth, type LinkedAccountSpotifyOAuth as LinkedAccountSpotifyOAuth, type LinkedAccountInstagramOAuth as LinkedAccountInstagramOAuth, type LinkedAccountTiktokOAuth as LinkedAccountTiktokOAuth, type LinkedAccountLineOAuth as LinkedAccountLineOAuth, type LinkedAccountTwitchOAuth as LinkedAccountTwitchOAuth, type LinkedAccountAppleOAuth as LinkedAccountAppleOAuth, type LinkedAccountCustomOAuth as LinkedAccountCustomOAuth, type LinkedAccountCustomJwt as LinkedAccountCustomJwt, type CrossAppEmbeddedWallet as CrossAppEmbeddedWallet, type CrossAppSmartWallet as CrossAppSmartWallet, type LinkedAccountCrossApp as LinkedAccountCrossApp, type LinkedAccountAuthorizationKey as LinkedAccountAuthorizationKey, type LinkedAccountType as LinkedAccountType, type CustomMetadata as CustomMetadata, type LinkedAccountWalletInput as LinkedAccountWalletInput, type LinkedAccountEmailInput as LinkedAccountEmailInput, type LinkedAccountPhoneInput as LinkedAccountPhoneInput, type LinkedAccountGoogleInput as LinkedAccountGoogleInput, type LinkedAccountTwitterInput as LinkedAccountTwitterInput, type LinkedAccountDiscordInput as LinkedAccountDiscordInput, type LinkedAccountGitHubInput as LinkedAccountGitHubInput, type LinkedAccountSpotifyInput as LinkedAccountSpotifyInput, type LinkedAccountInstagramInput as LinkedAccountInstagramInput, type LinkedAccountTiktokInput as LinkedAccountTiktokInput, type LinkedAccountLineInput as LinkedAccountLineInput, type LinkedAccountTwitchInput as LinkedAccountTwitchInput, type LinkedAccountAppleInput as LinkedAccountAppleInput, type LinkedAccountLinkedInInput as LinkedAccountLinkedInInput, type LinkedAccountFarcasterInput as LinkedAccountFarcasterInput, type LinkedAccountTelegramInput as LinkedAccountTelegramInput, type LinkedAccountCustomJwtInput as LinkedAccountCustomJwtInput, type LinkedAccountInput as LinkedAccountInput, type UserBatchCreateInput as UserBatchCreateInput, type SMSMfaMethod as SMSMfaMethod, type TotpMfaMethod as TotpMfaMethod, type PasskeyMfaMethod as PasskeyMfaMethod, type LinkedMfaMethod as LinkedMfaMethod, type OAuthTokens as OAuthTokens, type UsersCursor as UsersCursor, type UserCreateParams as UserCreateParams, type UserListParams as UserListParams, type UserGetByCustomAuthIDParams as UserGetByCustomAuthIDParams, type UserGetByDiscordUsernameParams as UserGetByDiscordUsernameParams, type UserGetByEmailAddressParams as UserGetByEmailAddressParams, type UserGetByFarcasterIDParams as UserGetByFarcasterIDParams, type UserGetByGitHubUsernameParams as UserGetByGitHubUsernameParams, type UserGetByPhoneNumberParams as UserGetByPhoneNumberParams, type UserGetBySmartWalletAddressParams as UserGetBySmartWalletAddressParams, type UserGetByTelegramUserIDParams as UserGetByTelegramUserIDParams, type UserGetByTelegramUsernameParams as UserGetByTelegramUsernameParams, type UserGetByTwitterSubjectParams as UserGetByTwitterSubjectParams, type UserGetByTwitterUsernameParams as UserGetByTwitterUsernameParams, type UserGetByWalletAddressParams as UserGetByWalletAddressParams, type UserPregenerateWalletsParams as UserPregenerateWalletsParams, type UserSearchParams as UserSearchParams, type UserSetCustomMetadataParams as UserSetCustomMetadataParams, type UserUnlinkLinkedAccountParams as UserUnlinkLinkedAccountParams, }; export { Analytics as Analytics, type AnalyticsEventInput as AnalyticsEventInput }; export { Policies as Policies, type Policy as Policy, type SuiTransactionCommandOperator as SuiTransactionCommandOperator, type SuiTransferObjectsCommandField as SuiTransferObjectsCommandField, type TronTransactionCondition as TronTransactionCondition, type SuiTransactionCommandCondition as SuiTransactionCommandCondition, type SuiTransferObjectsCommandCondition as SuiTransferObjectsCommandCondition, type PolicyCreateRuleResponse as PolicyCreateRuleResponse, type PolicyDeleteResponse as PolicyDeleteResponse, type PolicyDeleteRuleResponse as PolicyDeleteRuleResponse, type PolicyUpdateRuleResponse as PolicyUpdateRuleResponse, type PolicyGetRuleResponse as PolicyGetRuleResponse, type PolicyCreateParams as PolicyCreateParams, type PolicyCreateRuleParams as PolicyCreateRuleParams, type PolicyDeleteParams as PolicyDeleteParams, type PolicyDeleteRuleParams as PolicyDeleteRuleParams, type PolicyUpdateParams as PolicyUpdateParams, type PolicyUpdateRuleParams as PolicyUpdateRuleParams, type PolicyGetRuleParams as PolicyGetRuleParams, }; export { Transactions as Transactions, type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionGetResponse as TransactionGetResponse, }; export { KeyQuorums as KeyQuorums, type KeyQuorum as KeyQuorum, type KeyQuorumDeleteResponse as KeyQuorumDeleteResponse, type KeyQuorumCreateParams as KeyQuorumCreateParams, type KeyQuorumDeleteParams as KeyQuorumDeleteParams, type KeyQuorumUpdateParams as KeyQuorumUpdateParams, }; export { Aggregations as Aggregations, type AggregationMethod as AggregationMethod, type AggregationMetric as AggregationMetric, type AggregationWindow as AggregationWindow, type AggregationGroupBy as AggregationGroupBy, type Aggregation as Aggregation, }; } //# sourceMappingURL=client.d.ts.map