import z$1, { z } from 'zod'; declare const AnalyticsEventInput: z.ZodObject<{ event_name: z.ZodString; client_id: z.ZodNullable; payload: z.ZodOptional>; }, "strip", z.ZodTypeAny, { event_name: string; client_id: string | null; payload?: Record | undefined; }, { event_name: string; client_id: string | null; payload?: Record | undefined; }>; interface PrivyAnalyticsEventInput extends z.infer { } /** * Parses a JSON representation of a URL's path variables * for the `account_id` * * Throws an error if the `account_id` is not defined * or is not a valid, non-empty string. */ declare const AccountIdFromPath: z.ZodObject<{ account_id: z.ZodString; }, "strip", z.ZodTypeAny, { account_id: string; }, { account_id: string; }>; /** * Parses a JSON representation of a URL's path variables * for the `app_id` * * Throws an error if the `app_id` is not defined * or is not a valid, non-empty string. */ declare const AppIdFromPath: z.ZodCatch, { app_id: string; appId: string; }, { app_id: string; }>>; /** * Parse `cursor` and `limit` for paginating lists of results */ declare const Pagination: z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { cursor?: string | undefined; limit?: number | undefined; }, { cursor?: string | undefined; limit?: number | undefined; }>; declare const AppResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; logo_url: z.ZodNullable; icon_url: z.ZodNullable; terms_and_conditions_url: z.ZodNullable; privacy_policy_url: z.ZodNullable; require_users_accept_terms: z.ZodNullable; theme: z.ZodString; accent_color: z.ZodNullable; show_wallet_login_first: z.ZodBoolean; allowed_domains: z.ZodArray; allowed_native_app_ids: z.ZodArray; allowed_native_app_url_schemes: z.ZodArray; wallet_auth: z.ZodBoolean; email_auth: z.ZodBoolean; sms_auth: z.ZodBoolean; google_oauth: z.ZodBoolean; twitter_oauth: z.ZodBoolean; discord_oauth: z.ZodBoolean; github_oauth: z.ZodBoolean; spotify_oauth: z.ZodBoolean; instagram_oauth: z.ZodBoolean; tiktok_oauth: z.ZodBoolean; line_oauth: z.ZodBoolean; twitch_oauth: z.ZodBoolean; linkedin_oauth: z.ZodBoolean; apple_oauth: z.ZodBoolean; custom_oauth_providers: z.ZodArray; provider_display_name: z.ZodString; provider_icon_url: z.ZodString; enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { provider: `custom:${string}`; provider_display_name: string; provider_icon_url: string; enabled: boolean; }, { provider: `custom:${string}`; provider_display_name: string; provider_icon_url: string; enabled: boolean; }>, "many">; farcaster_auth: z.ZodBoolean; passkey_auth: z.ZodBoolean; passkeys_for_signup_enabled: z.ZodBoolean; telegram_auth: z.ZodBoolean; guest_auth: z.ZodBoolean; solana_wallet_auth: z.ZodBoolean; custom_jwt_auth: z.ZodBoolean; disable_plus_emails: z.ZodBoolean; allowlist_enabled: z.ZodBoolean; allowlist_config: z.ZodObject<{ error_title: z.ZodNullable; error_detail: z.ZodNullable; cta_text: z.ZodNullable; cta_link: z.ZodNullable; }, "strip", z.ZodTypeAny, { error_title: string | null; error_detail: string | null; cta_text: string | null; cta_link: string | null; }, { error_title: string | null; error_detail: string | null; cta_text: string | null; cta_link: string | null; }>; wallet_connect_cloud_project_id: z.ZodNullable; custom_api_url: z.ZodNullable; embedded_wallet_config: z.ZodObject<{ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; ethereum: z.ZodObject<{ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; solana: z.ZodObject<{ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; user_owned_recovery_options: z.ZodArray, "many">; require_user_owned_recovery_on_create: z.ZodOptional; require_user_password_on_create: z.ZodOptional; } & { mode: z.ZodEnum<["legacy-embedded-wallets-only", "user-controlled-server-wallets-only"]>; }, "strip", z.ZodTypeAny, { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }, { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }>; enforce_wallet_uis: z.ZodBoolean; legacy_wallet_ui_config: z.ZodBoolean; fiat_on_ramp_enabled: z.ZodBoolean; captcha_enabled: z.ZodBoolean; twitter_oauth_on_mobile_enabled: z.ZodBoolean; mfa_methods: z.ZodArray, "many">; captcha_site_key: z.ZodOptional; verification_key: z.ZodString; telegram_auth_config: z.ZodOptional>; funding_config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain: string; asset?: "native-currency" | "USDC" | undefined; }, { chain: string; asset?: "native-currency" | "USDC" | undefined; }>; default_recommended_amount: z.ZodString; methods: z.ZodArray, "many">; options: z.ZodArray, "many">; prompt_funding_on_wallet_creation: z.ZodBoolean; cross_chain_bridging_enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; }, { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; }>>; max_linked_wallets_per_user: z.ZodNullable; farcaster_link_wallets_enabled: z.ZodBoolean; whatsapp_enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; name: string; logo_url: string | null; icon_url: string | null; terms_and_conditions_url: string | null; privacy_policy_url: string | null; require_users_accept_terms: boolean | null; theme: string; accent_color: string | null; show_wallet_login_first: boolean; allowed_domains: string[]; allowed_native_app_ids: string[]; allowed_native_app_url_schemes: string[]; wallet_auth: boolean; email_auth: boolean; sms_auth: boolean; google_oauth: boolean; twitter_oauth: boolean; discord_oauth: boolean; github_oauth: boolean; spotify_oauth: boolean; instagram_oauth: boolean; tiktok_oauth: boolean; line_oauth: boolean; twitch_oauth: boolean; linkedin_oauth: boolean; apple_oauth: boolean; custom_oauth_providers: { provider: `custom:${string}`; provider_display_name: string; provider_icon_url: string; enabled: boolean; }[]; farcaster_auth: boolean; passkey_auth: boolean; passkeys_for_signup_enabled: boolean; telegram_auth: boolean; guest_auth: boolean; solana_wallet_auth: boolean; custom_jwt_auth: boolean; disable_plus_emails: boolean; allowlist_enabled: boolean; allowlist_config: { error_title: string | null; error_detail: string | null; cta_text: string | null; cta_link: string | null; }; wallet_connect_cloud_project_id: string | null; custom_api_url: string | null; embedded_wallet_config: { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }; enforce_wallet_uis: boolean; legacy_wallet_ui_config: boolean; fiat_on_ramp_enabled: boolean; captcha_enabled: boolean; twitter_oauth_on_mobile_enabled: boolean; mfa_methods: ("sms" | "totp" | "passkey")[]; verification_key: string; max_linked_wallets_per_user: number | null; farcaster_link_wallets_enabled: boolean; whatsapp_enabled: boolean; captcha_site_key?: string | undefined; telegram_auth_config?: { bot_id: string; bot_name: string; link_enabled: boolean; seamless_auth_enabled: boolean; } | undefined; funding_config?: { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; } | undefined; }, { id: string; name: string; logo_url: string | null; icon_url: string | null; terms_and_conditions_url: string | null; privacy_policy_url: string | null; require_users_accept_terms: boolean | null; theme: string; accent_color: string | null; show_wallet_login_first: boolean; allowed_domains: string[]; allowed_native_app_ids: string[]; allowed_native_app_url_schemes: string[]; wallet_auth: boolean; email_auth: boolean; sms_auth: boolean; google_oauth: boolean; twitter_oauth: boolean; discord_oauth: boolean; github_oauth: boolean; spotify_oauth: boolean; instagram_oauth: boolean; tiktok_oauth: boolean; line_oauth: boolean; twitch_oauth: boolean; linkedin_oauth: boolean; apple_oauth: boolean; custom_oauth_providers: { provider: `custom:${string}`; provider_display_name: string; provider_icon_url: string; enabled: boolean; }[]; farcaster_auth: boolean; passkey_auth: boolean; passkeys_for_signup_enabled: boolean; telegram_auth: boolean; guest_auth: boolean; solana_wallet_auth: boolean; custom_jwt_auth: boolean; disable_plus_emails: boolean; allowlist_enabled: boolean; allowlist_config: { error_title: string | null; error_detail: string | null; cta_text: string | null; cta_link: string | null; }; wallet_connect_cloud_project_id: string | null; custom_api_url: string | null; embedded_wallet_config: { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }; enforce_wallet_uis: boolean; legacy_wallet_ui_config: boolean; fiat_on_ramp_enabled: boolean; captcha_enabled: boolean; twitter_oauth_on_mobile_enabled: boolean; mfa_methods: ("sms" | "totp" | "passkey")[]; verification_key: string; max_linked_wallets_per_user: number | null; farcaster_link_wallets_enabled: boolean; whatsapp_enabled: boolean; captcha_site_key?: string | undefined; telegram_auth_config?: { bot_id: string; bot_name: string; link_enabled: boolean; seamless_auth_enabled: boolean; } | undefined; funding_config?: { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; } | undefined; }>; interface PrivyAppResponse extends z.output { } /** * Utility type that takes an object type and makes the hover overlay more readable. * * [Learn more](https://www.totaltypescript.com/concepts/the-prettify-helper) */ type Prettify = { [K in keyof T]: T[K]; } & {}; declare const EmbeddedWalletInputSchema: z.ZodObject<{ /** * Whether to create embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. * @deprecated */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; /** * Ethereum-specific config */ ethereum: z.ZodObject<{ /** * Whether to create ethereum embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; /** * Solana-specific config */ solana: z.ZodObject<{ /** * Whether to create solana embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; /** * Will be one or more of `user-passcode` | `google-drive` | `icloud` * - all enabled methods other than `password` require prior configuration */ user_owned_recovery_options: z.ZodArray, "many">; /** * If true, this will prompt the user use one of the enabled recovery methods * to secure the recovery share of their embedded wallet. * * Otherwise (the default), Privy will secure the recovery share, and the embedded wallet * will be created without showing any UIs to the user. * * Overridable from client. */ require_user_owned_recovery_on_create: z.ZodOptional; /** * @deprecated use `require_user_owned_recovery_on_create` * * If true, this will prompt the user to enter a password to secure the recovery share of * their embedded wallet. * * Otherwise (the default), Privy will secure the recovery share, and the embedded wallet * will be created without showing any UIs to the user. * * Overridable from client. */ require_user_password_on_create: z.ZodOptional; }, "strip", z.ZodTypeAny, { solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }, { solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }>; declare const EmbeddedWalletConfigSchema: z.ZodObject<{ /** * Whether to create embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. * @deprecated */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; /** * Ethereum-specific config */ ethereum: z.ZodObject<{ /** * Whether to create ethereum embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; /** * Solana-specific config */ solana: z.ZodObject<{ /** * Whether to create solana embedded wallets on login. Note that this still requires distinct API * calls, rather than the server creating one on the /authenticate call. * * Default: 'users-without-wallets' * * Overridable from client. */ create_on_login: z.ZodEnum<["users-without-wallets", "all-users", "off"]>; }, "strip", z.ZodTypeAny, { create_on_login: "users-without-wallets" | "all-users" | "off"; }, { create_on_login: "users-without-wallets" | "all-users" | "off"; }>; /** * Will be one or more of `user-passcode` | `google-drive` | `icloud` * - all enabled methods other than `password` require prior configuration */ user_owned_recovery_options: z.ZodArray, "many">; /** * If true, this will prompt the user use one of the enabled recovery methods * to secure the recovery share of their embedded wallet. * * Otherwise (the default), Privy will secure the recovery share, and the embedded wallet * will be created without showing any UIs to the user. * * Overridable from client. */ require_user_owned_recovery_on_create: z.ZodOptional; /** * @deprecated use `require_user_owned_recovery_on_create` * * If true, this will prompt the user to enter a password to secure the recovery share of * their embedded wallet. * * Otherwise (the default), Privy will secure the recovery share, and the embedded wallet * will be created without showing any UIs to the user. * * Overridable from client. */ require_user_password_on_create: z.ZodOptional; } & { mode: z.ZodEnum<["legacy-embedded-wallets-only", "user-controlled-server-wallets-only"]>; }, "strip", z.ZodTypeAny, { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }, { mode: "legacy-embedded-wallets-only" | "user-controlled-server-wallets-only"; solana: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; create_on_login: "users-without-wallets" | "all-users" | "off"; ethereum: { create_on_login: "users-without-wallets" | "all-users" | "off"; }; user_owned_recovery_options: ("user-passcode" | "google-drive" | "icloud")[]; require_user_owned_recovery_on_create?: boolean | undefined; require_user_password_on_create?: boolean | undefined; }>; type EmbeddedWalletConfig = Prettify>; declare const TelegramAuthConfigSchema: z.ZodObject<{ bot_id: z.ZodString; bot_name: z.ZodString; link_enabled: z.ZodBoolean; seamless_auth_enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { bot_id: string; bot_name: string; link_enabled: boolean; seamless_auth_enabled: boolean; }, { bot_id: string; bot_name: string; link_enabled: boolean; seamless_auth_enabled: boolean; }>; declare const FundingMethodEnum: z.ZodEnum<["moonpay", "coinbase-onramp", "external"]>; declare const FundingMethodArraySchema: z.ZodArray, "many">; type FundingMethod = z.infer; declare const FundingConfigResponseSchema: z.ZodObject<{ default_recommended_currency: z.ZodObject<{ chain: z.ZodString; asset: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain: string; asset?: "native-currency" | "USDC" | undefined; }, { chain: string; asset?: "native-currency" | "USDC" | undefined; }>; default_recommended_amount: z.ZodString; methods: z.ZodArray, "many">; options: z.ZodArray, "many">; prompt_funding_on_wallet_creation: z.ZodBoolean; cross_chain_bridging_enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; }, { options: { method: string; provider: string; }[]; default_recommended_currency: { chain: string; asset?: "native-currency" | "USDC" | undefined; }; default_recommended_amount: string; methods: ("moonpay" | "coinbase-onramp" | "external")[]; prompt_funding_on_wallet_creation: boolean; cross_chain_bridging_enabled: boolean; }>; type FundingConfig = Prettify>; declare const CoinbaseOnRampInitInput: z.ZodUnion<[z.ZodObject<{ addresses: z.ZodArray; blockchains: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }, { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }>, "many">; assets: z.ZodOptional, string, "USDC" | "eth" | "ETH" | "POL">, "many">>; }, "strip", z.ZodTypeAny, { addresses: { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }[]; assets?: string[] | undefined; }, { addresses: { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }[]; assets?: ("USDC" | "eth" | "ETH" | "POL")[] | undefined; }>, z.ZodObject<{ addresses: z.ZodArray; blockchains: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }, { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }>, "many">; assets: z.ZodOptional, string, "USDC" | "SOL">, "many">>; }, "strip", z.ZodTypeAny, { addresses: { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }[]; assets?: string[] | undefined; }, { addresses: { address: string; blockchains: ("solana" | "ethereum" | "bitcoin" | "base" | "avacchain" | "optimism" | "polygon" | "arbitrum" | "stellar")[]; }[]; assets?: ("USDC" | "SOL")[] | undefined; }>]>; type CoinbaseOnRampInitInput = z.infer; type PrivyCoinbaseOnRampInitInput = CoinbaseOnRampInitInput; declare const CoinbaseOnRampInitResponse: z.ZodObject<{ app_id: z.ZodString; session_token: z.ZodString; channel_id: z.ZodString; partner_user_id: z.ZodString; }, "strip", z.ZodTypeAny, { app_id: string; session_token: string; channel_id: string; partner_user_id: string; }, { app_id: string; session_token: string; channel_id: string; partner_user_id: string; }>; interface PrivyCoinbaseOnRampInitResponse extends z.infer { } declare const CoinbaseOnRampStatusResponse: z.ZodObject<{ status: z.ZodEnum<["pending", "success", "failure"]>; }, "strip", z.ZodTypeAny, { status: "pending" | "success" | "failure"; }, { status: "pending" | "success" | "failure"; }>; interface PrivyCoinbaseOnRampStatusResponse extends z.infer { } /** * Parses a user ID string, removes the 'did:privy:' * prefix, and returns it. * * Throws an error if no such key is found or the object * is not a valid, non-empty string. */ declare const UserId: z.ZodEffects; /** * Parses a string and checks that it is a valid email address. * * Transforms email to lowercase both the handle and domain, regardless * of the casing entered by the user * * Throws an error if the input is not a string or is * not a valid email */ declare const Email: z.ZodEffects; /** * Parses a verification code and checks that it is a valid string of length 6. */ declare const PasswordlessCode: z.ZodString; /** * Parses a string, checks that it is a valid Ethereum address, * and returns a normalized address that is checksummed per * EIP-55. * * See https://zod.dev/?id=validating-during-transform for how to do custom * validation and transformation on inputs. * * Throws an error if the input is not a string or is not a valid * Ethereum address. */ declare const WalletAddress: z.ZodEffects; /** * Parses a string, checks that it is a valid Solana address, * * Throws an error if the input is not a string or is not a valid * Solana address. */ declare const SolanaWalletAddress: z.ZodEffects; /** * Parses a phone number string and returns a normalized version. * Currently only accepts U.S. phone numbers. * * Throws an error if input is not a string or not a valid US * phone number. */ declare const PhoneNumber: z.ZodEffects, string, string>; /** * Accepts a phone number in various formats and outputs in E.164 format, or * if a phone number could not be parsed - returns `undefined` */ declare function normalizePhoneNumber(inputPhoneNumber: string): string | undefined; /** * Check if the address is an EIP-55 address. */ declare function isValidAddress(address: string | null | undefined): boolean; /** * Get the normalized EIP-55 address with checksum (case-sensitive address). * This is a thin pass-through to the viem util. * * ERC / EIP 55 reference: * https://github.com/ethereum/ercs/blob/master/ERCS/erc-55.md * * @param address EIP-55 address * @returns EIP-55 checksummed address */ declare function normalizeEthereumAddress(address: string | null | undefined): string | undefined; /** * For use with authenticate endpoints - if signup is disallowed, calls * to the /authenticate endpoint will fail if the user does not already exist. */ declare const AuthenticateMode: z.ZodObject<{ mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mode?: "no-signup" | "login-or-sign-up" | undefined; }, { mode?: "no-signup" | "login-or-sign-up" | undefined; }>; declare const CrossAppConnectionsResponse: z.ZodObject<{ connections: z.ZodArray; provider_app_custom_api_url: z.ZodNullable; read_only: z.ZodBoolean; provider_app_custom_auth_authorize_url: z.ZodNullable; provider_app_custom_auth_transact_url: z.ZodNullable; }, "strip", z.ZodTypeAny, { provider_app_id: string; provider_app_name: string; provider_app_icon_url: string | null; provider_app_custom_api_url: string | null; read_only: boolean; provider_app_custom_auth_authorize_url: string | null; provider_app_custom_auth_transact_url: string | null; }, { provider_app_id: string; provider_app_name: string; provider_app_icon_url: string | null; provider_app_custom_api_url: string | null; read_only: boolean; provider_app_custom_auth_authorize_url: string | null; provider_app_custom_auth_transact_url: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { connections: { provider_app_id: string; provider_app_name: string; provider_app_icon_url: string | null; provider_app_custom_api_url: string | null; read_only: boolean; provider_app_custom_auth_authorize_url: string | null; provider_app_custom_auth_transact_url: string | null; }[]; }, { connections: { provider_app_id: string; provider_app_name: string; provider_app_icon_url: string | null; provider_app_custom_api_url: string | null; read_only: boolean; provider_app_custom_auth_authorize_url: string | null; provider_app_custom_auth_transact_url: string | null; }[]; }>; interface PrivyCrossAppConnectionsResponse extends z.infer { } declare const SUPPORTED_CHAIN_TYPES: readonly ["evm", "solana"]; type SupportedChainType = (typeof SUPPORTED_CHAIN_TYPES)[number]; declare const Currency: z$1.ZodObject<{ /** * CAIP-2 formatted chain ID * Resource: https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-2.md */ chain: z$1.ZodString; asset: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { chain: string; asset?: "native-currency" | "USDC" | undefined; }, { chain: string; asset?: "native-currency" | "USDC" | undefined; }>; declare const AuthenticateJwtInput: z$1.ZodObject<{ /** A JWT from the custom authentication provider */ token: z$1.ZodOptional; } & { mode: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { mode?: "no-signup" | "login-or-sign-up" | undefined; token?: string | undefined; }, { mode?: "no-signup" | "login-or-sign-up" | undefined; token?: string | undefined; }>; interface PrivyAuthenticateJwtInput extends z$1.infer { } declare const LinkJwtInput: z$1.ZodObject<{ /** A JWT from the custom authentication provider */ token: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { token?: string | undefined; }, { token?: string | undefined; }>; interface PrivyLinkJwtInput extends z$1.infer { } declare const VerifyEmailInput: z.ZodObject<{ code: z.ZodString; email: z.ZodEffects; }, "strip", z.ZodTypeAny, { code: string; email: string; }, { code: string; email: string; }>; interface PrivyVerifyEmailInput extends z.infer { } declare const ServerSideVerifyEmailInput: z.ZodObject<{ code: z.ZodString; email: z.ZodEffects; } & { user_id: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; email: string; user_id: string; }, { code: string; email: string; user_id: string; }>; interface PrivyServerSideVerifyEmailInput extends z.infer { } declare const AuthenticateEmailInput: z.ZodObject<{ code: z.ZodString; email: z.ZodEffects; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { code: string; email: string; mode?: "no-signup" | "login-or-sign-up" | undefined; }, { code: string; email: string; mode?: "no-signup" | "login-or-sign-up" | undefined; }>; interface PrivyAuthenticateEmailInput extends z.infer { } declare const InitEmailInput: z.ZodObject<{ email: z.ZodEffects; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; token?: string | undefined; }, { email: string; token?: string | undefined; }>; interface PrivyInitEmailInput extends z.infer { } declare const UnlinkEmailInput: z.ZodObject<{ address: z.ZodEffects; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>; interface PrivyUnlinkEmailInput extends z.infer { } declare const ServerSideUnlinkEmailInput: z.ZodObject<{ address: z.ZodEffects; } & { user_id: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; user_id: string; }, { address: string; user_id: string; }>; interface PrivyServerSideUnlinkEmailInput extends z.infer { } declare const UpdateEmailInput: z.ZodObject<{ oldAddress: z.ZodEffects; newAddress: z.ZodEffects; code: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; oldAddress: string; newAddress: string; }, { code: string; oldAddress: string; newAddress: string; }>; interface PrivyUpdateEmailInput extends z.infer { } declare const ServerSideUpdateEmailInput: z.ZodObject<{ oldAddress: z.ZodEffects; newAddress: z.ZodEffects; code: z.ZodString; } & { user_id: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; user_id: string; oldAddress: string; newAddress: string; }, { code: string; user_id: string; oldAddress: string; newAddress: string; }>; interface PrivyServerSideUpdateEmailInput extends z.infer { } declare const TransferEmailInput: z.ZodObject<{ nonce: z.ZodString; } & { email: z.ZodEffects; }, "strip", z.ZodTypeAny, { nonce: string; email: string; }, { nonce: string; email: string; }>; interface PrivyTransferEmailInput extends z.infer { } declare const JsonWebKey: z.ZodObject<{ kty: z.ZodString; use: z.ZodOptional>; key_ops: z.ZodOptional, "many">>; alg: z.ZodEnum<["RS256", "ES256"]>; kid: z.ZodOptional; x5u: z.ZodOptional; x5c: z.ZodOptional>; x5t: z.ZodOptional; 'x5t#S256': z.ZodOptional; n: z.ZodOptional; e: z.ZodOptional; d: z.ZodOptional; crv: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; xvalue: z.ZodOptional; yvalue: z.ZodOptional; }, "strip", z.ZodTypeAny, { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }, { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }>; declare const JsonWebKeySet: z.ZodObject<{ keys: z.ZodArray>; key_ops: z.ZodOptional, "many">>; alg: z.ZodEnum<["RS256", "ES256"]>; kid: z.ZodOptional; x5u: z.ZodOptional; x5c: z.ZodOptional>; x5t: z.ZodOptional; 'x5t#S256': z.ZodOptional; n: z.ZodOptional; e: z.ZodOptional; d: z.ZodOptional; crv: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; xvalue: z.ZodOptional; yvalue: z.ZodOptional; }, "strip", z.ZodTypeAny, { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }, { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { keys: { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }[]; }, { keys: { kty: string; alg: "RS256" | "ES256"; use?: "sig" | "enc" | undefined; key_ops?: ("sign" | "verify" | "encrypt" | "decrypt" | "wrapKey" | "unwrapKey" | "deriveKey" | "deriveBits")[] | undefined; kid?: string | undefined; x5u?: string | undefined; x5c?: string[] | undefined; x5t?: string | undefined; 'x5t#S256'?: string | undefined; n?: string | undefined; e?: string | undefined; d?: string | undefined; crv?: string | undefined; x?: string | undefined; y?: string | undefined; xvalue?: string | undefined; yvalue?: string | undefined; }[]; }>; /** * Proxy for the Farcaster Connect init response as defined in FIP-11 * https://github.com/farcasterxyz/protocol/discussions/110 * * We use this response object for our primary init endpoint because * that's all the user needs to know to connect to the relay and request * a signature from their Farcaster app. */ declare const FarcasterConnectInitResponse: z.ZodObject<{ channel_token: z.ZodString; connect_uri: z.ZodString; }, "strip", z.ZodTypeAny, { channel_token: string; connect_uri: string; }, { channel_token: string; connect_uri: string; }>; interface PrivyFarcasterConnectInitResponse extends z.infer { } /** * Proxy for the Farcaster Connect completed status response as defined in FIP-11 * https://github.com/farcasterxyz/protocol/discussions/110 */ declare const FarcasterConnectStatusCompletedResponse: z.ZodObject<{ state: z.ZodLiteral<"completed">; nonce: z.ZodString; message: z.ZodString; signature: z.ZodString; fid: z.ZodNumber; username: z.ZodString; display_name: z.ZodString; bio: z.ZodString; pfp_url: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; nonce: string; state: "completed"; signature: string; fid: number; username: string; display_name: string; bio: string; pfp_url: string; }, { message: string; nonce: string; state: "completed"; signature: string; fid: number; username: string; display_name: string; bio: string; pfp_url: string; }>; interface PrivyFarcasterConnectStatusCompletedResponse extends z.infer { } /** * Proxy for the Farcaster Connect pending status response as defined in FIP-11 * https://github.com/farcasterxyz/protocol/discussions/110 */ declare const FarcasterConnectStatusPendingResponse: z.ZodObject<{ state: z.ZodLiteral<"pending">; nonce: z.ZodString; }, "strip", z.ZodTypeAny, { nonce: string; state: "pending"; }, { nonce: string; state: "pending"; }>; interface PrivyFarcasterConnectStatusPendingResponse extends z.infer { } declare const FarcasterAuthenticateInput: z.ZodObject<{ channel_token: z.ZodString; message: z.ZodString; signature: z.ZodString; fid: z.ZodNumber; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; channel_token: string; signature: string; fid: number; mode?: "no-signup" | "login-or-sign-up" | undefined; }, { message: string; channel_token: string; signature: string; fid: number; mode?: "no-signup" | "login-or-sign-up" | undefined; }>; interface PrivyFarcasterAuthenticateInput extends z.infer { } declare const FarcasterLinkInput: z.ZodObject<{ channel_token: z.ZodString; message: z.ZodString; signature: z.ZodString; fid: z.ZodNumber; }, "strip", z.ZodTypeAny, { message: string; channel_token: string; signature: string; fid: number; }, { message: string; channel_token: string; signature: string; fid: number; }>; interface PrivyFarcasterLinkInput extends z.infer { } declare const FarcasterInitInput: z.ZodObject<{ token: z.ZodOptional; redirect_url: z.ZodOptional; relying_party: z.ZodOptional; }, "strip", z.ZodTypeAny, { token?: string | undefined; redirect_url?: string | undefined; relying_party?: string | undefined; }, { token?: string | undefined; redirect_url?: string | undefined; relying_party?: string | undefined; }>; interface PrivyFarcasterInitInput extends z.infer { } declare const FarcasterUnlinkInput: z.ZodObject<{ fid: z.ZodNumber; }, "strip", z.ZodTypeAny, { fid: number; }, { fid: number; }>; interface PrivyFarcasterUnlinkInput extends z.infer { } declare const TransferFarcasterInput: z.ZodObject<{ nonce: z.ZodString; } & { farcaster_id: z.ZodString; farcaster_embedded_address: z.ZodString; }, "strip", z.ZodTypeAny, { nonce: string; farcaster_id: string; farcaster_embedded_address: string; }, { nonce: string; farcaster_id: string; farcaster_embedded_address: string; }>; interface PrivyTransferFarcasterInput extends z.infer { } declare const FarcasterV2InitInput: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; interface PrivyFarcasterV2InitInput extends z.infer { } declare const FarcasterV2InitResponse: z.ZodObject<{ nonce: z.ZodString; expires_at: z.ZodString; }, "strip", z.ZodTypeAny, { nonce: string; expires_at: string; }, { nonce: string; expires_at: string; }>; interface PrivyFarcasterV2InitResponse extends z.infer { } declare const FarcasterV2AuthenticateInput: z.ZodObject<{ fid: z.ZodNumber; message: z.ZodString; signature: z.ZodString; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; signature: string; fid: number; mode?: "no-signup" | "login-or-sign-up" | undefined; }, { message: string; signature: string; fid: number; mode?: "no-signup" | "login-or-sign-up" | undefined; }>; interface PrivyFarcasterV2AuthenticateInput extends z.infer { } /** * Input to add a public key signer for a user. */ declare const FarcasterSignerInitInput: z.ZodObject<{ /** Must be an ed25519 key, NOT secp256k1 (ethereum native curve) */ ed25519_public_key: z.ZodEffects; /** * The deadline for a signer request to succeed. After the deadline, the request will no longer * succeed. Defaults to 1 hour. */ deadline: z.ZodDefault>; }, "strip", z.ZodTypeAny, { ed25519_public_key: string; deadline: bigint; }, { ed25519_public_key: string; deadline?: bigint | undefined; }>; interface PrivyFarcasterSignerInitInput extends z.input { } declare const FarcasterSignerInitResponse: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"pending_approval">; signer_approval_url: z.ZodString; }, "strip", z.ZodTypeAny, { status: "pending_approval"; public_key: string; signer_approval_url: string; }, { status: "pending_approval"; public_key: string; signer_approval_url: string; }>, z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"approved">; /** The FID of the user who approved the signer */ fid: z.ZodBigInt; }, "strip", z.ZodTypeAny, { status: "approved"; fid: bigint; public_key: string; }, { status: "approved"; fid: bigint; public_key: string; }>, z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"revoked">; /** The FID of the user who approved the signer */ fid: z.ZodBigInt; }, "strip", z.ZodTypeAny, { status: "revoked"; fid: bigint; public_key: string; }, { status: "revoked"; fid: bigint; public_key: string; }>]>; type PrivyFarcasterSignerInitResponse = z.output; declare const FarcasterSignerStatusResponse: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"pending_approval">; }, "strip", z.ZodTypeAny, { status: "pending_approval"; public_key: string; }, { status: "pending_approval"; public_key: string; }>, z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"approved">; /** The FID of the user who approved the signer */ fid: z.ZodBigInt; }, "strip", z.ZodTypeAny, { status: "approved"; fid: bigint; public_key: string; }, { status: "approved"; fid: bigint; public_key: string; }>, z.ZodObject<{ /** The public key reflected back from the API * ie 0x2087e48968ca16a8954d0da041de84b66392b2821c2af42bc28aa079bcbe1dfe */ public_key: z.ZodString; status: z.ZodLiteral<"revoked">; /** The FID of the user who approved the signer */ fid: z.ZodBigInt; }, "strip", z.ZodTypeAny, { status: "revoked"; fid: bigint; public_key: string; }, { status: "revoked"; fid: bigint; public_key: string; }>]>; type PrivyFarcasterSignerStatusResponse = z.output; type PrivyFarcasterSubmitCastResponse = Record; type PrivyFarcasterRemoveCastResponse = Record; type PrivyFarcasterReactToCastResponse = Record; type PrivyFarcasterSubmitLinkResponse = Record; type PrivyFarcasterRemoveLinkResponse = Record; declare const GasSponsorshipConfigurationInputSchema: z.ZodObject<{ sponsorship_enabled: z.ZodOptional; configured_networks: z.ZodOptional>; require_app_secret: z.ZodOptional; }, "strip", z.ZodTypeAny, { configured_networks?: string[] | undefined; sponsorship_enabled?: boolean | undefined; require_app_secret?: boolean | undefined; }, { configured_networks?: string[] | undefined; sponsorship_enabled?: boolean | undefined; require_app_secret?: boolean | undefined; }>; declare const GasSponsorshipConfigurationSchema: z.ZodObject<{ sponsorship_enabled: z.ZodBoolean; configured_networks: z.ZodArray; require_app_secret: z.ZodBoolean; }, "strip", z.ZodTypeAny, { configured_networks: string[]; sponsorship_enabled: boolean; require_app_secret: boolean; }, { configured_networks: string[]; sponsorship_enabled: boolean; require_app_secret: boolean; }>; declare const GasSponsorshipConfigurationResponseSchema: z.ZodObject<{ sponsorship_enabled: z.ZodBoolean; configured_networks: z.ZodArray; require_app_secret: z.ZodBoolean; }, "strip", z.ZodTypeAny, { configured_networks: string[]; sponsorship_enabled: boolean; require_app_secret: boolean; }, { configured_networks: string[]; sponsorship_enabled: boolean; require_app_secret: boolean; }>; type PrivyGasSponsorshipConfigurationInput = Prettify>; type PrivyGasSponsorshipConfigurationResponse = Prettify>; /** * Parses a JSON representation of a URL's path variables * for the `condition_set_id` * * Throws an error if the `condition_set_id` is not defined * or is not a valid, non-empty string. */ declare const ConditionSetIdFromPath: z.ZodCatch>; /** * Parses a JSON representation of a URL's path variables * for the `condition_set_item_id` * * Throws an error if the `condition_set_item_id` is not defined * or is not a valid, non-empty string. */ declare const ConditionSetItemIdFromPath: z.ZodCatch>; /** * Schema for creating a new condition set */ declare const CreateConditionSetInput: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodString; }, "strict", z.ZodTypeAny, { name: string; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name: string; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { name: string; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name: string; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; type CreateConditionSetInputType = z.infer; /** * Schema for updating a condition set */ declare const UpdateConditionSetInput: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; type UpdateConditionSetInputType = z.infer; /** * Schema for a condition set response */ declare const ConditionSetResponse: z.ZodObject<{ id: z.ZodString; name: z.ZodString; owner_id: z.ZodString; created_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; name: string; created_at: number; owner_id: string; }, { id: string; name: string; created_at: number; owner_id: string; }>; type ConditionSetResponseType = z.infer; /** * Schema for creating new condition set items */ declare const CreateConditionSetItemsInput: z.ZodArray, "many">; type CreateConditionSetItemsInputType = z.infer; /** * Schema for updating condition set items (replace all existing items) * Identical to CreateConditionSetItemsInput */ declare const UpdateConditionSetItemsInput: z.ZodArray, "many">; type UpdateConditionSetItemsInputType = z.infer; /** * Type for condition set items operation parameters * Used for both creating and updating condition set items */ type ConditionSetItemsOperationParams = { condition_set_id: string; items: Array<{ value: string; }>; }; /** * Schema for condition set item response (single item) */ declare const ConditionSetItemResponse: z.ZodObject<{ id: z.ZodString; condition_set_id: z.ZodString; value: z.ZodString; created_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: string; id: string; created_at: number; condition_set_id: string; }, { value: string; id: string; created_at: number; condition_set_id: string; }>; type ConditionSetItemResponseType = z.infer; /** * Schema for condition set items list response (with pagination) */ declare const ConditionSetItemsResponse: z.ZodObject<{ items: z.ZodArray, "many">; next_cursor: z.ZodNullable; }, "strip", z.ZodTypeAny, { next_cursor: string | null; items: { value: string; id: string; created_at: number; condition_set_id: string; }[]; }, { next_cursor: string | null; items: { value: string; id: string; created_at: number; condition_set_id: string; }[]; }>; type ConditionSetItemsResponseType = z.infer; /** * Parses the authentication input for guest accounts. */ declare const AuthenticateGuestInput: z.ZodObject<{ /** * Locally-persisted guest secret. * This credential should have as much entropy as embedded wallet entropy. */ guest_credential: z.ZodString; }, "strict", z.ZodTypeAny, { guest_credential: string; }, { guest_credential: string; }>; interface PrivyAuthenticateGuestInput extends z.infer { } declare const EmailIdTokenEntry: z.ZodObject; address: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "address"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; lv: number | null; }, { type: "email"; address: string; lv: number | null; }>; interface PrivyEmailIdTokenEntry extends z.infer { } declare const PhoneIdTokenEntry: z.ZodEffects; number: z.ZodOptional; phoneNumber: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "phoneNumber"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; phoneNumber: string; lv: number | null; }, { type: "phone"; phoneNumber: string; lv: number | null; }>, { type: "phone"; lv: number | null; phone_number: string; }, { type: "phone"; phoneNumber: string; lv: number | null; }>; interface PrivyPhoneIdTokenEntry extends z.infer { } declare const WalletIdTokenEntry: z.ZodObject; address: z.ZodString; chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "address" | "chain_type" | "wallet_client_type"> & { id: z.ZodOptional; lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; lv: number | null; id?: string | undefined; wallet_client_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; lv: number | null; id?: string | undefined; wallet_client_type?: string | undefined; }>; interface PrivyWalletIdTokenEntry extends z.infer { } declare const FarcasterIdTokenEntry: z.ZodEffects; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "type" | "fid" | "username" | "owner_address"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; lv: number | null; username?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; lv: number | null; username?: string | undefined; }>, { type: "farcaster"; fid: number; lv: number | null; username?: string | undefined; oa: string; }, { type: "farcaster"; fid: number; owner_address: string; lv: number | null; username?: string | undefined; }>; interface PrivyFarcasterIdTokenEntry extends z.infer { } declare const PasskeyIdTokenEntry: z.ZodObject; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "credential_id"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; credential_id: string; lv: number | null; }, { type: "passkey"; credential_id: string; lv: number | null; }>; interface PrivyPasskeyIdTokenEntry extends z.infer { } declare const TelegramIdTokenEntry: z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; username: z.ZodOptional>; lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; lv: number | null; username?: string | null | undefined; }, { type: "telegram"; telegram_user_id: string; lv: number | null; username?: string | null | undefined; }>; interface PrivyTelegramIdTokenEntry extends z.infer { } declare const GoogleOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "name" | "email" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; subject: string; lv: number | null; }, { type: "google_oauth"; name: string | null; email: string; subject: string; lv: number | null; }>; interface PrivyGoogleOauthIdTokenEntry extends z.infer { } declare const TwitterOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; } & { name: z.ZodOptional>; pfp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; username: string | null; subject: string; lv: number | null; name?: string | null | undefined; pfp?: string | null | undefined; }, { type: "twitter_oauth"; username: string | null; subject: string; lv: number | null; name?: string | null | undefined; pfp?: string | null | undefined; }>; interface PrivyTwitterOauthIdTokenEntry extends z.infer { } declare const DiscordOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; username: string | null; subject: string; lv: number | null; }, { type: "discord_oauth"; username: string | null; subject: string; lv: number | null; }>; interface PrivyDiscordOauthIdTokenEntry extends z.infer { } declare const GithubOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; username: string | null; subject: string; lv: number | null; }, { type: "github_oauth"; username: string | null; subject: string; lv: number | null; }>; interface PrivyGithubOauthIdTokenEntry extends z.infer { } declare const LinkedInOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "email" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; subject: string; lv: number | null; }, { type: "linkedin_oauth"; email: string | null; subject: string; lv: number | null; }>; interface PrivyLinkedInOauthIdTokenEntry extends z.infer { } declare const SpotifyOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "email" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; email: string | null; subject: string; lv: number | null; }, { type: "spotify_oauth"; email: string | null; subject: string; lv: number | null; }>; interface PrivySpotifyOauthIdTokenEntry extends z.infer { } declare const InstagramOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; subject: string; lv: number | null; }, { type: "instagram_oauth"; username: string | null; subject: string; lv: number | null; }>; interface PrivyInstagramOauthIdTokenEntry extends z.infer { } declare const TiktokOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; username: string | null; subject: string; lv: number | null; }, { type: "tiktok_oauth"; username: string | null; subject: string; lv: number | null; }>; interface PrivyTiktokOauthIdTokenEntry extends z.infer { } declare const LineOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "name" | "email" | "profile_picture_url" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; profile_picture_url: string | null; subject: string; lv: number | null; }, { type: "line_oauth"; name: string | null; email: string | null; profile_picture_url: string | null; subject: string; lv: number | null; }>; interface PrivyLineOauthIdTokenEntry extends z.infer { } declare const TwitchOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; username: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "username" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; subject: string; lv: number | null; }, { type: "twitch_oauth"; username: string | null; subject: string; lv: number | null; }>; interface PrivyTwitchOauthIdTokenEntry extends z.infer { } declare const AppleOauthIdTokenEntry: z.ZodObject; subject: z.ZodString; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "email" | "subject"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; subject: string; lv: number | null; }, { type: "apple_oauth"; email: string | null; subject: string; lv: number | null; }>; interface PrivyAppleOauthIdTokenEntry extends z.infer { } declare const CustomJwtIdTokenEntry: z.ZodObject; custom_user_id: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "custom_user_id"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; lv: number | null; }, { type: "custom_auth"; custom_user_id: string; lv: number | null; }>; interface PrivyCustomJwtIdTokenEntry extends z.infer { } declare const CrossAppIdTokenEntry: z.ZodObject; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "provider_app_id" | "subject" | "embedded_wallets" | "smart_wallets"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; lv: number | null; }, { type: "cross_app"; provider_app_id: string; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; lv: number | null; }>; interface PrivyCrossAppIdTokenEntry extends z.infer { } declare const SmartWalletIdTokenEntry: z.ZodObject; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "type" | "address" | "smart_wallet_type"> & { lv: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; lv: number | null; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; lv: number | null; }>; interface PrivySmartWalletIdTokenEntry extends z.infer { } type LinkedAccountsIdTokenEntry = PrivyEmailIdTokenEntry | PrivyPhoneIdTokenEntry | PrivyWalletIdTokenEntry | PrivyGoogleOauthIdTokenEntry | PrivyTwitterOauthIdTokenEntry | PrivyDiscordOauthIdTokenEntry | PrivyGithubOauthIdTokenEntry | PrivySpotifyOauthIdTokenEntry | PrivyInstagramOauthIdTokenEntry | PrivyTiktokOauthIdTokenEntry | PrivyLineOauthIdTokenEntry | PrivyTwitchOauthIdTokenEntry | PrivyLinkedInOauthIdTokenEntry | PrivyAppleOauthIdTokenEntry | PrivyCustomJwtIdTokenEntry | PrivyFarcasterIdTokenEntry | PrivyPasskeyIdTokenEntry | PrivyTelegramIdTokenEntry | PrivyCrossAppIdTokenEntry | PrivySmartWalletIdTokenEntry; declare const MfaVerifyResponse: z$1.ZodObject<{ token: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { token: string; }, { token: string; }>; type MfaVerifyResponseType = z$1.infer; declare const MfaSmsInitInput: z$1.ZodUnion<[z$1.ZodObject<{ action: z$1.ZodLiteral<"verify">; }, "strict", z$1.ZodTypeAny, { action: "verify"; }, { action: "verify"; }>, z$1.ZodObject<{ action: z$1.ZodLiteral<"enroll">; phoneNumber: z$1.ZodEffects, string, string>; }, "strict", z$1.ZodTypeAny, { phoneNumber: string; action: "enroll"; }, { phoneNumber: string; action: "enroll"; }>]>; type MfaSmsInitInputType = z$1.infer; /** @deprecated Please use MfaSmsEnrollInput */ declare const MfaSmsAuthenticateEnrollInput: z$1.ZodObject<{ action: z$1.ZodOptional>; code: z$1.ZodString; phoneNumber: z$1.ZodEffects, string, string>; }, "strict", z$1.ZodTypeAny, { code: string; phoneNumber: string; action?: "enroll" | undefined; }, { code: string; phoneNumber: string; action?: "enroll" | undefined; }>; /** @deprecated Please use MfaSmsEnrollInputType */ type MfaSmsAuthenticateEnrollInputType = z$1.infer; declare const MfaSmsEnrollInput: z$1.ZodObject<{ code: z$1.ZodString; phoneNumber: z$1.ZodEffects, string, string>; }, "strict", z$1.ZodTypeAny, { code: string; phoneNumber: string; }, { code: string; phoneNumber: string; }>; type MfaSmsEnrollInputType = z$1.infer; declare const MfaSmsVerifyInput: z$1.ZodObject<{ code: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { code: string; }, { code: string; }>; type MfaSmsVerifyInputType = z$1.infer; /** * TOTP MFA enrollment and verification inputs. */ declare const MfaTotpInput: z$1.ZodObject<{ code: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { code: string; }, { code: string; }>; type MfaTotpInputType = z$1.infer; declare const ResponseTotpInitMfa: z$1.ZodObject<{ totpSecret: z$1.ZodString; totpAuthUrl: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { totpSecret: string; totpAuthUrl: string; }, { totpSecret: string; totpAuthUrl: string; }>; type ResponseTotpInitMfaType = z$1.infer; declare const MfaPasskeyInitInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; }, "strict", z$1.ZodTypeAny, { relying_party?: string | undefined; }, { relying_party?: string | undefined; }>; type MfaPasskeyInitInputType = z$1.infer; declare const ResponsePasskeyInitMfa: z$1.ZodObject<{ options: z$1.ZodObject<{ challenge: z$1.ZodString; timeout: z$1.ZodOptional; rp_id: z$1.ZodOptional; allow_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; user_verification: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }>; }, "strict", z$1.ZodTypeAny, { options: { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }; }, { options: { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }; }>; type ResponsePasskeyInitMfaType = z$1.infer; declare const MfaPasskeyVerifyInput: z$1.ZodObject<{ authenticator_response: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; authenticator_data: z$1.ZodString; signature: z$1.ZodString; user_handle: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; relying_party: z$1.ZodOptional; }, "strict", z$1.ZodTypeAny, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }>; type MfaPasskeyVerifyInputType = z$1.infer; declare const MfaEnrollmentPasskeyInput: z$1.ZodObject<{ credential_ids: z$1.ZodArray; remove_for_login: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { credential_ids: string[]; remove_for_login: boolean; }, { credential_ids: string[]; remove_for_login?: boolean | undefined; }>; interface PrivyMfaEnrollmentPasskeyInputType extends z$1.infer { } /** * Strict type checking is done for most values here. This is because we are signing these * configurations with our own key and must avoid any sort of injection attempt. * * Be careful with adding/relaxing any of these types. */ declare const MoonpayOnRampSignInput: z.ZodIntersection; config: z.ZodObject<{ quoteCurrencyAmount: z.ZodOptional; email: z.ZodOptional>; paymentMethod: z.ZodOptional>; uiConfig: z.ZodOptional; theme: z.ZodOptional>; }, "strip", z.ZodTypeAny, { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; }, { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; }>>; } & { currencyCode: z.ZodOptional, "USDC" | "ETH" | "POL" | "AVAX_CCHAIN" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "POL_POLYGON" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_POLYGON" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC" | "BNB", "USDC" | "ETH" | "AVAX_CCHAIN" | "CELO_CELO" | "CUSD_CELO" | "DAI_ETHEREUM" | "ETH_ETHEREUM" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "FIL_FVM" | "MATIC_ETHEREUM" | "MATIC_POLYGON" | "POL_POLYGON" | "POL_ETHEREUM" | "USDC_ETHEREUM" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_ETHEREUM" | "USDT_POLYGON" | "WETH_POLYGON" | "WBTC_ETHEREUM" | "BNB_BNB" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC">>; }, "strip", z.ZodTypeAny, { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "USDC" | "ETH" | "POL" | "AVAX_CCHAIN" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "POL_POLYGON" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_POLYGON" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC" | "BNB" | undefined; }, { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "USDC" | "ETH" | "AVAX_CCHAIN" | "CELO_CELO" | "CUSD_CELO" | "DAI_ETHEREUM" | "ETH_ETHEREUM" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "FIL_FVM" | "MATIC_ETHEREUM" | "MATIC_POLYGON" | "POL_POLYGON" | "POL_ETHEREUM" | "USDC_ETHEREUM" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_ETHEREUM" | "USDT_POLYGON" | "WETH_POLYGON" | "WBTC_ETHEREUM" | "BNB_BNB" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC" | undefined; }>; }, "strip", z.ZodTypeAny, { address: string; config: { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "USDC" | "ETH" | "POL" | "AVAX_CCHAIN" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "POL_POLYGON" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_POLYGON" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC" | "BNB" | undefined; }; }, { address: string; config: { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "USDC" | "ETH" | "AVAX_CCHAIN" | "CELO_CELO" | "CUSD_CELO" | "DAI_ETHEREUM" | "ETH_ETHEREUM" | "ETH_ARBITRUM" | "ETH_OPTIMISM" | "ETH_POLYGON" | "ETH_BASE" | "FIL_FVM" | "MATIC_ETHEREUM" | "MATIC_POLYGON" | "POL_POLYGON" | "POL_ETHEREUM" | "USDC_ETHEREUM" | "USDC_ARBITRUM" | "USDC_OPTIMISM" | "USDC_POLYGON" | "USDC_BASE" | "USDC_CCHAIN" | "USDC_SOL" | "USDT_ETHEREUM" | "USDT_POLYGON" | "WETH_POLYGON" | "WBTC_ETHEREUM" | "BNB_BNB" | "BNB_BSC" | "CELO" | "CUSD" | "DAI" | "FIL" | "MATIC" | "USDT" | "WETH" | "WBTC" | undefined; }; }>, z.ZodObject<{ address: z.ZodEffects; config: z.ZodObject<{ quoteCurrencyAmount: z.ZodOptional; email: z.ZodOptional>; paymentMethod: z.ZodOptional>; uiConfig: z.ZodOptional; theme: z.ZodOptional>; }, "strip", z.ZodTypeAny, { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; }, { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; }>>; } & { currencyCode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "SOL" | "USDC_SOL" | undefined; }, { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "SOL" | "USDC_SOL" | undefined; }>; }, "strip", z.ZodTypeAny, { address: string; config: { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "SOL" | "USDC_SOL" | undefined; }; }, { address: string; config: { email?: string | undefined; quoteCurrencyAmount?: number | undefined; paymentMethod?: "ach_bank_transfer" | "credit_debit_card" | "gbp_bank_transfer" | "gbp_open_banking_payment" | "mobile_wallet" | "sepa_bank_transfer" | "sepa_open_banking_payment" | "pix_instant_payment" | "yellow_card_bank_transfer" | undefined; uiConfig?: { theme?: "light" | "dark" | undefined; accentColor?: string | undefined; } | undefined; currencyCode?: "SOL" | "USDC_SOL" | undefined; }; }>]>, z.ZodObject<{ useSandbox: z.ZodDefault>; }, "strip", z.ZodTypeAny, { useSandbox: boolean; }, { useSandbox?: boolean | undefined; }>>; type PrivyMoonpayOnRampSignInput = z.infer; declare const MoonpayOnRampSignResponse: z.ZodObject<{ signedUrl: z.ZodString; externalTransactionId: z.ZodString; }, "strip", z.ZodTypeAny, { signedUrl: string; externalTransactionId: string; }, { signedUrl: string; externalTransactionId: string; }>; type PrivyMoonpayOnRampSignResponse = z.infer; declare const CustomOAuthProviderID: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; type CustomOAuthProvider = z.infer; declare const SUPPORTED_OAUTH_PROVIDERS: readonly ["google", "discord", "twitter", "github", "spotify", "instagram", "tiktok", "linkedin", "apple", "line", "twitch"]; type PrivyOAuthProvider = `privy:${string}`; type ExternalOAuthProviderType = (typeof SUPPORTED_OAUTH_PROVIDERS)[number]; type OAuthProviderType = ExternalOAuthProviderType | PrivyOAuthProvider | CustomOAuthProvider; declare const ExternalOAuthProvider: z.ZodEnum<["google", "discord", "twitter", "github", "spotify", "instagram", "tiktok", "linkedin", "apple", "line", "twitch"]>; declare const OAuthProvider: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["google", "discord", "twitter", "github", "spotify", "instagram", "tiktok", "linkedin", "apple", "line", "twitch"]>, z.ZodType<`privy:${string}`, z.ZodTypeDef, `privy:${string}`>]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>; declare const AuthenticateOauthInput: z.ZodObject<{ authorization_code: z.ZodString; state_code: z.ZodString; code_verifier: z.ZodOptional; code_type: z.ZodOptional>; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { authorization_code: string; state_code: string; mode?: "no-signup" | "login-or-sign-up" | undefined; code_verifier?: string | undefined; code_type?: "raw" | undefined; }, { authorization_code: string; state_code: string; mode?: "no-signup" | "login-or-sign-up" | undefined; code_verifier?: string | undefined; code_type?: "raw" | undefined; }>; interface PrivyAuthenticateOauthInput extends z.infer { } declare const OAuthInitInput: z.ZodObject<{ redirect_to: z.ZodString; provider: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["google", "discord", "twitter", "github", "spotify", "instagram", "tiktok", "linkedin", "apple", "line", "twitch"]>, z.ZodType<`privy:${string}`, z.ZodTypeDef, `privy:${string}`>]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>; token: z.ZodOptional; state_code: z.ZodOptional; code_challenge: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: `custom:${string}` | "google" | "discord" | "twitter" | "github" | "spotify" | "instagram" | "tiktok" | "linkedin" | "apple" | "line" | "twitch" | `privy:${string}`; redirect_to: string; token?: string | undefined; state_code?: string | undefined; code_challenge?: string | undefined; }, { provider: `custom:${string}` | "google" | "discord" | "twitter" | "github" | "spotify" | "instagram" | "tiktok" | "linkedin" | "apple" | "line" | "twitch" | `privy:${string}`; redirect_to: string; token?: string | undefined; state_code?: string | undefined; code_challenge?: string | undefined; }>; interface PrivyOAuthInitInput extends z.infer { } declare const LinkOAuthInput: z.ZodObject<{ authorization_code: z.ZodString; state_code: z.ZodString; code_verifier: z.ZodOptional; code_type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { authorization_code: string; state_code: string; code_verifier?: string | undefined; code_type?: "raw" | undefined; }, { authorization_code: string; state_code: string; code_verifier?: string | undefined; code_type?: "raw" | undefined; }>; interface PrivyLinkOAuthInput extends z.infer { } declare const OAuthUnlinkInput: z.ZodObject<{ subject: z.ZodString; provider: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["google", "discord", "twitter", "github", "spotify", "instagram", "tiktok", "linkedin", "apple", "line", "twitch"]>, z.ZodType<`privy:${string}`, z.ZodTypeDef, `privy:${string}`>]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>; }, "strip", z.ZodTypeAny, { provider: `custom:${string}` | "google" | "discord" | "twitter" | "github" | "spotify" | "instagram" | "tiktok" | "linkedin" | "apple" | "line" | "twitch" | `privy:${string}`; subject: string; }, { provider: `custom:${string}` | "google" | "discord" | "twitter" | "github" | "spotify" | "instagram" | "tiktok" | "linkedin" | "apple" | "line" | "twitch" | `privy:${string}`; subject: string; }>; interface PrivyOAuthUnlinkInput extends z.infer { } declare const OAuthInitResponse: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; interface PrivyOAuthInitResponse extends z.infer { } declare const OAuthLinkResponse: z.ZodObject<{ id: z.ZodString; linked_accounts: z.ZodArray; address: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>, "many">; mfa_methods: z.ZodArray; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>, "many">; created_at: z.ZodNumber; has_accepted_terms: z.ZodBoolean; is_guest: z.ZodBoolean; custom_metadata: z.ZodOptional>>; } & { oauth_tokens: z.ZodOptional; refresh_token: z.ZodOptional; refresh_token_expires_in_seconds: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; }, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; }>; interface PrivyOAuthLinkResponse extends z.infer { } declare const TransferOAuthInput: z.ZodObject<{ nonce: z.ZodString; } & { userInfo: z.ZodObject<{ subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; profilePictureUrl: z.ZodOptional; email: z.ZodNullable>; vanityName: z.ZodOptional; meta: z.ZodOptional; }, "strip", z.ZodTypeAny, { providerAppId?: string | undefined; }, { providerAppId?: string | undefined; }>>; embeddedWalletAddresses: z.ZodOptional>; smartWalletAddresses: z.ZodOptional>; }, "strip", z.ZodTypeAny, { subject: string; name?: string | undefined; email?: string | null | undefined; username?: string | undefined; vanityName?: string | undefined; profilePictureUrl?: string | undefined; meta?: { providerAppId?: string | undefined; } | undefined; embeddedWalletAddresses?: string[] | undefined; smartWalletAddresses?: string[] | undefined; }, { subject: string; name?: string | undefined; email?: string | null | undefined; username?: string | undefined; vanityName?: string | undefined; profilePictureUrl?: string | undefined; meta?: { providerAppId?: string | undefined; } | undefined; embeddedWalletAddresses?: string[] | undefined; smartWalletAddresses?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { nonce: string; userInfo: { subject: string; name?: string | undefined; email?: string | null | undefined; username?: string | undefined; vanityName?: string | undefined; profilePictureUrl?: string | undefined; meta?: { providerAppId?: string | undefined; } | undefined; embeddedWalletAddresses?: string[] | undefined; smartWalletAddresses?: string[] | undefined; }; }, { nonce: string; userInfo: { subject: string; name?: string | undefined; email?: string | null | undefined; username?: string | undefined; vanityName?: string | undefined; profilePictureUrl?: string | undefined; meta?: { providerAppId?: string | undefined; } | undefined; embeddedWalletAddresses?: string[] | undefined; smartWalletAddresses?: string[] | undefined; }; }>; declare const AuthorizationCodeInput: z.ZodObject<{ redirect_to: z.ZodString; state: z.ZodString; code_challenge: z.ZodString; }, "strip", z.ZodTypeAny, { state: string; redirect_to: string; code_challenge: string; }, { state: string; redirect_to: string; code_challenge: string; }>; declare const EmptyObject: z.ZodRecord; interface PrivyEmptyObject extends z.infer { } declare const SuccessObject: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; interface PrivySuccessObject extends z.infer { } /** * Contents are defined by webauthn * https://w3c.github.io/webauthn/#dictionary-assertion-options * * Types and fields are pulled from @simplewebauthn/types * (these may be slightly different from the webauthn spec) */ declare const PasskeyAuthenticatorVerifyOptions: z$1.ZodObject<{ challenge: z$1.ZodString; timeout: z$1.ZodOptional; rp_id: z$1.ZodOptional; allow_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; user_verification: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }>; type PasskeyAuthenticatorVerifyOptionsType = z$1.infer; /** * Contents are defined by webauthn * https://w3c.github.io/webauthn/#dictionary-assertion-options * * Types and fields are pulled from @simplewebauthn/types * (these may be slightly different from the webauthn spec) */ declare const PasskeyAuthenticatorEnrollmentOptions: z$1.ZodObject<{ rp: z$1.ZodObject<{ name: z$1.ZodString; id: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; id?: string | undefined; }, { name: string; id?: string | undefined; }>; user: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; display_name: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { id: string; name: string; display_name: string; }, { id: string; name: string; display_name: string; }>; challenge: z$1.ZodString; pub_key_cred_params: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: "public-key"; alg: number; }, { type: "public-key"; alg: number; }>, "many">; timeout: z$1.ZodOptional; exclude_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; authenticator_selection: z$1.ZodOptional; require_resident_key: z$1.ZodOptional; resident_key: z$1.ZodOptional; user_verification: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }>>; attestation: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }>; type PasskeyAuthenticatorEnrollmentOptionsType = z$1.infer; /** * Contents of are defined by webauthn * https://w3c.github.io/webauthn/#dictdef-authenticationresponsejson * * Types and fields are pulled from @simplewebauthn/types */ declare const PasskeyAuthenticatorVerifyResponse: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; authenticator_data: z$1.ZodString; signature: z$1.ZodString; user_handle: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; type PasskeyAuthenticatorVerifyResponseType = z$1.infer; /** * Contents are defined by webauthn * https://w3c.github.io/webauthn/#dictdef-registrationresponsejson * * Types and fields are pulled from @simplewebauthn/types */ declare const PasskeyAuthenticatorEnrollmentResponse: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; attestation_object: z$1.ZodString; authenticator_data: z$1.ZodOptional; transports: z$1.ZodOptional>; public_key_algorithm: z$1.ZodOptional; public_key: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; type PasskeyAuthenticatorEnrollmentResponseType = z$1.infer; declare const PasskeyInitInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; token: z$1.ZodOptional; }, "strict", z$1.ZodTypeAny, { token?: string | undefined; relying_party?: string | undefined; }, { token?: string | undefined; relying_party?: string | undefined; }>; type PasskeyInitInputType = z$1.infer; declare const ResponsePasskeyInitAuthenticate: z$1.ZodObject<{ relying_party: z$1.ZodOptional; options: z$1.ZodObject<{ challenge: z$1.ZodString; timeout: z$1.ZodOptional; rp_id: z$1.ZodOptional; allow_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; user_verification: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }, { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }>; }, "strict", z$1.ZodTypeAny, { options: { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }; relying_party?: string | undefined; }, { options: { challenge: string; timeout?: number | undefined; rp_id?: string | undefined; allow_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; user_verification?: string | undefined; extensions?: { app_id?: string | undefined; cred_props?: boolean | undefined; hmac_create_secret?: boolean | undefined; } | undefined; }; relying_party?: string | undefined; }>; type ResponsePasskeyInitAuthenticateType = z$1.infer; declare const ResponsePasskeyInitLink: z$1.ZodObject<{ relying_party: z$1.ZodOptional; options: z$1.ZodObject<{ rp: z$1.ZodObject<{ name: z$1.ZodString; id: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; id?: string | undefined; }, { name: string; id?: string | undefined; }>; user: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; display_name: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { id: string; name: string; display_name: string; }, { id: string; name: string; display_name: string; }>; challenge: z$1.ZodString; pub_key_cred_params: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: "public-key"; alg: number; }, { type: "public-key"; alg: number; }>, "many">; timeout: z$1.ZodOptional; exclude_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; authenticator_selection: z$1.ZodOptional; require_resident_key: z$1.ZodOptional; resident_key: z$1.ZodOptional; user_verification: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }>>; attestation: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }>; }, "strict", z$1.ZodTypeAny, { options: { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }; relying_party?: string | undefined; }, { options: { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }; relying_party?: string | undefined; }>; type ResponsePasskeyInitLinkType = z$1.infer; declare const ServerSidePasskeyInitLinkInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; token: z$1.ZodOptional; } & { user_id: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { user_id: string; token?: string | undefined; relying_party?: string | undefined; }, { user_id: string; token?: string | undefined; relying_party?: string | undefined; }>; type ServerSidePasskeyInitLinkInputType = z$1.infer; declare const ResponsePasskeyInitRegister: z$1.ZodObject<{ relying_party: z$1.ZodOptional; options: z$1.ZodObject<{ rp: z$1.ZodObject<{ name: z$1.ZodString; id: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; id?: string | undefined; }, { name: string; id?: string | undefined; }>; user: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; display_name: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { id: string; name: string; display_name: string; }, { id: string; name: string; display_name: string; }>; challenge: z$1.ZodString; pub_key_cred_params: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: "public-key"; alg: number; }, { type: "public-key"; alg: number; }>, "many">; timeout: z$1.ZodOptional; exclude_credentials: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: string; id: string; transports?: string[] | undefined; }, { type: string; id: string; transports?: string[] | undefined; }>, "many">>; authenticator_selection: z$1.ZodOptional; require_resident_key: z$1.ZodOptional; resident_key: z$1.ZodOptional; user_verification: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }, { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; }>>; attestation: z$1.ZodOptional; extensions: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }, { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }>; }, "strict", z$1.ZodTypeAny, { options: { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }; relying_party?: string | undefined; }, { options: { user: { id: string; name: string; display_name: string; }; challenge: string; rp: { name: string; id?: string | undefined; }; pub_key_cred_params: { type: "public-key"; alg: number; }[]; timeout?: number | undefined; extensions?: { app_id?: string | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; } | undefined; exclude_credentials?: { type: string; id: string; transports?: string[] | undefined; }[] | undefined; authenticator_selection?: { user_verification?: string | undefined; authenticator_attachment?: string | undefined; require_resident_key?: boolean | undefined; resident_key?: string | undefined; } | undefined; attestation?: string | undefined; }; relying_party?: string | undefined; }>; type ResponsePasskeyInitRegisterType = z$1.infer; declare const PasskeyLinkInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; authenticator_response: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; attestation_object: z$1.ZodString; authenticator_data: z$1.ZodOptional; transports: z$1.ZodOptional>; public_key_algorithm: z$1.ZodOptional; public_key: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; }, "strict", z$1.ZodTypeAny, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }>; type PasskeyLinkInputType = z$1.infer; declare const ServerSidePasskeyLinkInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; authenticator_response: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; attestation_object: z$1.ZodString; authenticator_data: z$1.ZodOptional; transports: z$1.ZodOptional>; public_key_algorithm: z$1.ZodOptional; public_key: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; } & { user_id: z$1.ZodString; }, "strict", z$1.ZodTypeAny, { user_id: string; authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }, { user_id: string; authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }>; type ServerSidePasskeyLinkInputType = z$1.infer; declare const PasskeyRegisterInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; authenticator_response: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; attestation_object: z$1.ZodString; authenticator_data: z$1.ZodOptional; transports: z$1.ZodOptional>; public_key_algorithm: z$1.ZodOptional; public_key: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }, { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; }, "strict", z$1.ZodTypeAny, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }, { authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { client_data_json: string; attestation_object: string; public_key?: string | undefined; transports?: any[] | undefined; authenticator_data?: string | undefined; public_key_algorithm?: number | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }>; type PasskeyRegisterInputType = z$1.infer; declare const PasskeyAuthenticateInput: z$1.ZodObject<{ relying_party: z$1.ZodOptional; challenge: z$1.ZodString; authenticator_response: z$1.ZodObject<{ id: z$1.ZodString; raw_id: z$1.ZodString; response: z$1.ZodObject<{ client_data_json: z$1.ZodString; authenticator_data: z$1.ZodString; signature: z$1.ZodString; user_handle: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }, { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }>; authenticator_attachment: z$1.ZodOptional; client_extension_results: z$1.ZodObject<{ app_id: z$1.ZodOptional; cred_props: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { rk?: boolean | undefined; }, { rk?: boolean | undefined; }>>; hmac_create_secret: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }, { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }>; type: z$1.ZodLiteral<"public-key">; }, "strip", z$1.ZodTypeAny, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }, { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }>; }, "strict", z$1.ZodTypeAny, { challenge: string; authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }, { challenge: string; authenticator_response: { type: "public-key"; id: string; raw_id: string; response: { signature: string; client_data_json: string; authenticator_data: string; user_handle?: string | undefined; }; client_extension_results: { app_id?: boolean | undefined; cred_props?: { rk?: boolean | undefined; } | undefined; hmac_create_secret?: boolean | undefined; }; authenticator_attachment?: string | undefined; }; relying_party?: string | undefined; }>; type PasskeyAuthenticateInputType = z$1.infer; declare const UnlinkPasskeyInput: z$1.ZodObject<{ credential_id: z$1.ZodString; remove_as_mfa: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { credential_id: string; remove_as_mfa: boolean; }, { credential_id: string; remove_as_mfa?: boolean | undefined; }>; interface PrivyUnlinkPasskeyInput extends z$1.infer { } declare const ServerSideUnlinkPasskeyInput: z$1.ZodObject<{ credential_id: z$1.ZodString; remove_as_mfa: z$1.ZodDefault; } & { user_id: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { user_id: string; credential_id: string; remove_as_mfa: boolean; }, { user_id: string; credential_id: string; remove_as_mfa?: boolean | undefined; }>; type ServerSideUnlinkPasskeyInputType = z$1.infer; declare const PolicyAction: z.ZodEnum<["ALLOW", "DENY"]>; type PolicyActionType = z.infer; declare const literalSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>; type Literal = z.infer; type Json = Literal | { [key: string]: Json; } | Json[]; declare const ConditionOperator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; declare const BaseCondition: z.ZodObject<{ operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; }>; declare const EthereumTransactionCondition: z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_transaction">; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>; type EthereumTransactionConditionType = z.infer; declare const EthereumCalldataCondition: z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>; type EthereumCalldataConditionType = z.infer; declare const EthereumTypedDataDomainCondition: z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>; type EthereumTypedDataDomainConditionType = z.infer; declare const EthereumTypedDataMessageCondition: z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>; type EthereumTypedDataMessageConditionType = z.infer; declare const Ethereum7702AuthorizationCondition: z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>; type Ethereum7702AuthorizationConditionType = z.infer; declare const SolanaProgramInstruction: z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>; type SolanaProgramInstructionType = z.infer; declare const SolanaSystemProgramInstruction: z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>; type SolanaSystemProgramInstructionType = z.infer; declare const SolanaTokenProgramInstruction: z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>; type SolanaTokenProgramInstructionType = z.infer; declare const SystemCondition: z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>; type SystemConditionType = z.infer; declare const Condition: z.ZodDiscriminatedUnion<"field_source", [z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_transaction">; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>; type ConditionType = z.infer; declare const PolicyMethod: z.ZodUnion<[z.ZodLiteral<"eth_sendTransaction">, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; type PolicyMethodType = z.infer; declare const RuleInput: z.ZodObject<{ /** The name of the rule */ name: z.ZodString; /** The method the rule applies to */ method: z.ZodUnion<[z.ZodLiteral<"eth_sendTransaction">, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>; type RuleInputType = z.infer; declare const RuleResponse: z.ZodObject<{ /** The name of the rule */ name: z.ZodString; /** The method the rule applies to */ method: z.ZodUnion<[z.ZodLiteral<"eth_sendTransaction">, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; } & { /** The unique ID of the rule (unique per policy). All rules stored in the DB should have an ID. */ id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>; type RuleResponseType = z.infer; declare const Rule: z.ZodObject<{ /** The name of the rule */ name: z.ZodString; /** The method the rule applies to */ method: z.ZodUnion<[z.ZodLiteral<"eth_sendTransaction">, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodOptional; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }>; type RuleType = z.infer; declare const RuleIdAndPolicyIdFromPath: z.ZodCatch>; declare const PolicyWithoutValidation: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; /** The policy schema version */ version: z.ZodLiteral<"1.0">; /** The name of the policy */ name: z.ZodString; /** The chain type the policy applies to */ chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; /** The rules that apply to each method the policy covers, each method can only be specified once */ rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodOptional; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { name: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }[]; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }[]; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { name: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }[]; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { name: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; id?: string | undefined; }[]; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; type PolicyType = z.infer; declare const PolicyResponse: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; } & { /** The unique ID of the rule (unique per policy). All rules stored in the DB should have an ID. */ id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; type PolicyResponseType = z.infer; /** * Parses a JSON representation of a URL's path variables * for the `policy_id` * * Throws an error if the `policy_id` is not defined * or is not a valid, non-empty string. */ declare const PolicyIdFromPath: z.ZodCatch>; declare const UpdatePolicyInputWithoutValidation: z.ZodObject<{ owner: z.ZodOptional, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; declare const UpdatePolicyInput: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; /** The conditions that must be true for the rule action to be applied */ conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; /** The ABI of the contract to decode the calldata, only used if field_source is ethereum_calldata */ abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; /** The action to apply if the rule conditions are true */ action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: Json; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; type UpdatePolicyInputType = z.infer; /** * Parses a JSON representation DeletePolicy request from dashboard * requiring that the name be specified. */ declare const DeletePolicyInput: z.ZodObject<{ name: z.ZodString; }, "strict", z.ZodTypeAny, { name: string; }, { name: string; }>; type DeletePolicyInputType = z.infer; interface PrivyRecoveryKeyMaterialInput extends z.infer { } declare const RecoveryKeyMaterialInput: z.ZodObject<{ chain_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { chain_type?: string | undefined; }, { chain_type?: string | undefined; }>; declare const RecoveryKeyMaterialResponse: z.ZodObject<{ recovery_type: z.ZodEnum<["user_passcode_derived_recovery_key", "privy_passcode_derived_recovery_key", "privy_generated_recovery_key", "google_drive_recovery_secret", "icloud_recovery_secret"]>; recovery_key_derivation_salt: z.ZodString; recovery_code: z.ZodString; recovery_key: z.ZodString; file_id: z.ZodString; icloud_record_name: z.ZodString; }, "strip", z.ZodTypeAny, { recovery_type: "user_passcode_derived_recovery_key" | "privy_passcode_derived_recovery_key" | "privy_generated_recovery_key" | "google_drive_recovery_secret" | "icloud_recovery_secret"; recovery_key_derivation_salt: string; recovery_code: string; recovery_key: string; file_id: string; icloud_record_name: string; }, { recovery_type: "user_passcode_derived_recovery_key" | "privy_passcode_derived_recovery_key" | "privy_generated_recovery_key" | "google_drive_recovery_secret" | "icloud_recovery_secret"; recovery_key_derivation_salt: string; recovery_code: string; recovery_key: string; file_id: string; icloud_record_name: string; }>; interface PrivyRecoveryKeyMaterialResponse extends z.infer { } declare const OAuthAuthenticateRecoveryResponse: z.ZodObject<{ access_token: z.ZodString; }, "strip", z.ZodTypeAny, { access_token: string; }, { access_token: string; }>; interface PrivyOAuthAuthenticateRecoveryResponse extends z.infer { } declare const OAuthInitRecoveryInput: z.ZodObject<{ redirect_to: z.ZodString; token: z.ZodOptional; state_code: z.ZodOptional; code_challenge: z.ZodOptional; }, "strip", z.ZodTypeAny, { redirect_to: string; token?: string | undefined; state_code?: string | undefined; code_challenge?: string | undefined; }, { redirect_to: string; token?: string | undefined; state_code?: string | undefined; code_challenge?: string | undefined; }>; interface PrivyOAuthInitRecoveryInput extends z.infer { } declare const OAuthInitICloudRecoveryInput: z.ZodObject<{ client_type: z.ZodEnum<["web", "expo-ios"]>; }, "strip", z.ZodTypeAny, { client_type: "web" | "expo-ios"; }, { client_type: "web" | "expo-ios"; }>; interface PrivyOAuthInitICloudRecoveryInput extends z.infer { } declare const OAuthCallbackICloudExpoInput: z.ZodEffects, { ckWebAuthToken: string; }, { ckWebAuthToken: string; }>; interface PrivyOAuthCallbackICloudExpoInput extends z.infer { } declare const OAuthCallbackICloudExpoResponse: z.ZodRecord; interface PrivyOAuthCallbackICloudExpoResponse extends z.infer { } declare const RecoveryConfigurationICloudInput: z.ZodObject<{ client_type: z.ZodEnum<["web", "expo-ios"]>; }, "strip", z.ZodTypeAny, { client_type: "web" | "expo-ios"; }, { client_type: "web" | "expo-ios"; }>; interface PrivyRecoveryConfigurationICloudInput extends z.infer { } declare const RecoveryConfigurationICloudResponse: z.ZodObject<{ api_token: z.ZodString; container_identifier: z.ZodString; environment: z.ZodString; }, "strip", z.ZodTypeAny, { api_token: string; container_identifier: string; environment: string; }, { api_token: string; container_identifier: string; environment: string; }>; interface PrivyRecoveryConfigurationICloudResponse extends z.infer { } declare const SiweInput: z.ZodObject<{ message: z.ZodString; signature: z.ZodString; chainId: z.ZodDefault>; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; }, "strip", z.ZodTypeAny, { message: string; signature: string; chainId: string | null; walletClientType: string | null; connectorType: string | null; }, { message: string; signature: string; chainId?: string | null | undefined; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; }>; interface PrivySiweInput extends z.input { } declare const SmartWalletSiweInput: z.ZodObject<{ message: z.ZodString; signature: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; signature: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; smart_wallet_version?: string | undefined; }, { message: string; signature: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; smart_wallet_version?: string | undefined; }>; interface PrivySmartWalletSiweInput extends z.input { } declare const AuthenticateSiweInput: z.ZodObject<{ message: z.ZodString; signature: z.ZodString; chainId: z.ZodDefault>; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; signature: string; chainId: string | null; walletClientType: string | null; connectorType: string | null; mode?: "no-signup" | "login-or-sign-up" | undefined; }, { message: string; signature: string; mode?: "no-signup" | "login-or-sign-up" | undefined; chainId?: string | null | undefined; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; }>; type PrivyAuthenticateSiweInput = z.input; declare const SiweAddressInput: z.ZodObject<{ address: z.ZodEffects; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>; interface PrivySiweAddressInput extends z.infer { } declare const SiweInitInput: z.ZodObject<{ address: z.ZodOptional>; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { address?: string | undefined; token?: string | undefined; }, { address?: string | undefined; token?: string | undefined; }>; interface PrivySiweInitInput extends z.infer { } declare const SiweNonce: z.ZodObject<{ nonce: z.ZodString; address: z.ZodString; expires_at: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; nonce: string; expires_at: string; }, { address: string; nonce: string; expires_at: string; }>; interface PrivySiweNonce extends z.infer { } declare const TransferSiweInput: z.ZodObject<{ nonce: z.ZodString; } & { address: z.ZodEffects; chainId: z.ZodDefault>; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; }, "strip", z.ZodTypeAny, { address: string; nonce: string; chainId: string | null; walletClientType: string | null; connectorType: string | null; }, { address: string; nonce: string; chainId?: string | null | undefined; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; }>; interface PrivyTransferSiweInput extends z.infer { } declare const SiwsInput: z.ZodObject<{ message: z.ZodString; signature: z.ZodString; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; message_type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; signature: string; walletClientType: string | null; connectorType: string | null; message_type?: "transaction" | "plain" | undefined; }, { message: string; signature: string; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; message_type?: "transaction" | "plain" | undefined; }>; interface PrivySiwsInput extends z.input { } declare const AuthenticateSiwsInput: z.ZodObject<{ message: z.ZodString; signature: z.ZodString; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; message_type: z.ZodOptional>; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; signature: string; walletClientType: string | null; connectorType: string | null; mode?: "no-signup" | "login-or-sign-up" | undefined; message_type?: "transaction" | "plain" | undefined; }, { message: string; signature: string; mode?: "no-signup" | "login-or-sign-up" | undefined; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; message_type?: "transaction" | "plain" | undefined; }>; type PrivyAuthenticateSiwsInput = z.input; declare const SiwsAddressInput: z.ZodObject<{ address: z.ZodEffects; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>; interface PrivySiwsAddressInput extends z.infer { } declare const SiwsInitInput: z.ZodObject<{ address: z.ZodEffects; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; token?: string | undefined; }, { address: string; token?: string | undefined; }>; interface PrivySiwsInitInput extends z.infer { } declare const SiwsNonce: z.ZodObject<{ nonce: z.ZodString; address: z.ZodString; expires_at: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; nonce: string; expires_at: string; }, { address: string; nonce: string; expires_at: string; }>; interface PrivySiwsNonce extends z.infer { } declare const TransferSiwsInput: z.ZodObject<{ nonce: z.ZodString; } & { address: z.ZodEffects; walletClientType: z.ZodDefault>; connectorType: z.ZodDefault>; }, "strip", z.ZodTypeAny, { address: string; nonce: string; walletClientType: string | null; connectorType: string | null; }, { address: string; nonce: string; walletClientType?: string | null | undefined; connectorType?: string | null | undefined; }>; interface PrivyTransferSiwsInput extends z.infer { } declare const VerifyPhoneInput: z.ZodObject<{ code: z.ZodString; phoneNumber: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { code: string; phoneNumber: string; }, { code: string; phoneNumber: string; }>; interface PrivyVerifyPhoneInput extends z.infer { } declare const AuthenticatePhoneInput: z.ZodObject<{ code: z.ZodString; phoneNumber: z.ZodEffects, string, string>; } & { mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { code: string; phoneNumber: string; mode?: "no-signup" | "login-or-sign-up" | undefined; }, { code: string; phoneNumber: string; mode?: "no-signup" | "login-or-sign-up" | undefined; }>; interface PrivyAuthenticatePhoneInput extends z.infer { } declare const PasswordlessSmsPhoneInput: z.ZodObject<{ phoneNumber: z.ZodEffects, string, string>; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { phoneNumber: string; token?: string | undefined; }, { phoneNumber: string; token?: string | undefined; }>; interface PrivyLinkPhoneInput extends z.infer { } declare const UnlinkPhoneInput: z.ZodObject<{ phoneNumber: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { phoneNumber: string; }, { phoneNumber: string; }>; interface PrivyUnlinkPhoneInput extends z.infer { } declare const UpdatePhoneInput: z.ZodObject<{ old_phone_number: z.ZodEffects, string, string>; new_phone_number: z.ZodEffects, string, string>; code: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; old_phone_number: string; new_phone_number: string; }, { code: string; old_phone_number: string; new_phone_number: string; }>; interface PrivyUpdatePhoneInput extends z.infer { } declare const TransferPhoneInput: z.ZodObject<{ nonce: z.ZodString; } & { phoneNumber: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { nonce: string; phoneNumber: string; }, { nonce: string; phoneNumber: string; }>; interface PrivyTransferPhoneInput extends z.infer { } declare const SAFE: "safe"; declare const KERNEL: "kernel"; declare const BICONOMY: "biconomy"; declare const LIGHT_ACCOUNT: "light_account"; declare const COINBASE_SMART_WALLET: "coinbase_smart_wallet"; declare const THIRDWEB: "thirdweb"; declare const SUPPORTED_SMART_WALLET_TYPES: readonly ["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]; type SmartWalletType = (typeof SUPPORTED_SMART_WALLET_TYPES)[number]; declare const SmartWalletProvider: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; declare const AlchemyPaymasterContextSchema: z.ZodObject<{ policy_id: z.ZodString; }, "strip", z.ZodTypeAny, { policy_id: string; }, { policy_id: string; }>; type AlchemyPaymasterContext = z.infer; declare const SmartWalletNetworkConfigurationInputSchema: z.ZodObject<{ chain_id: z.ZodString; bundler_url: z.ZodOptional; paymaster_url: z.ZodOptional; rpc_url: z.ZodOptional; chain_name: z.ZodOptional; paymaster_context: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }, { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }>; type SmartWalletNetworkConfigurationInput = Prettify>; declare const SmartWalletConfigurationSchema: z.ZodDiscriminatedUnion<"enabled", [z.ZodObject<{ enabled: z.ZodLiteral; }, "strip", z.ZodTypeAny, { enabled: false; }, { enabled: false; }>, z.ZodObject<{ enabled: z.ZodLiteral; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; configured_networks: z.ZodArray; rpc_url: z.ZodOptional; chain_name: z.ZodOptional; paymaster_context: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }, { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | undefined; }, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | undefined; }>]>; declare const SmartWalletConfigurationInputSchema: z.ZodDiscriminatedUnion<"enabled", [z.ZodObject<{ enabled: z.ZodLiteral; }, "strip", z.ZodTypeAny, { enabled: false; }, { enabled: false; }>, z.ZodObject<{ enabled: z.ZodLiteral; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional>; configured_networks: z.ZodArray; paymaster_url: z.ZodOptional; rpc_url: z.ZodOptional; chain_name: z.ZodOptional; paymaster_context: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }, { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | null | undefined; }, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url?: string | undefined; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | null | undefined; }>]>; declare const SmartWalletConfigurationResponseSchema: z.ZodDiscriminatedUnion<"enabled", [z.ZodObject<{ enabled: z.ZodLiteral; }, "strip", z.ZodTypeAny, { enabled: false; }, { enabled: false; }>, z.ZodObject<{ enabled: z.ZodLiteral; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; configured_networks: z.ZodArray; rpc_url: z.ZodOptional; chain_name: z.ZodOptional; paymaster_context: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }, { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | undefined; }, { enabled: true; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; configured_networks: { chain_id: string; bundler_url: string; paymaster_url?: string | undefined; rpc_url?: string | undefined; chain_name?: string | undefined; paymaster_context?: { policy_id: string; } | undefined; }[]; smart_wallet_version?: string | undefined; }>]>; type PrivySmartWalletConfigurationInput = Prettify>; type PrivySmartWalletConfigurationResponse = Prettify>; declare const TelegramAuthResult: z$1.ZodObject<{ id: z$1.ZodNumber; first_name: z$1.ZodString; auth_date: z$1.ZodNumber; hash: z$1.ZodString; username: z$1.ZodOptional; last_name: z$1.ZodOptional; photo_url: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>; type TelegramAuthResultType = z$1.infer; declare const TelegramWebAppData: z$1.ZodObject<{ query_id: z$1.ZodOptional; auth_date: z$1.ZodNumber; hash: z$1.ZodString; user: z$1.ZodString; chat_instance: z$1.ZodOptional; chat_type: z$1.ZodOptional; start_param: z$1.ZodOptional; signature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }>; type TelegramAuthWebDataType = z$1.infer; /** * @prop captcha_token - Captcha token * @prop telegram_auth_result - Auth result object returned by Telegram when a user authenticates using the login widget * @prop telegram_web_app_data - Auth result object returned by Telegram when a user authenticates using a mini app */ declare const TelegramAuthenticateInput: z$1.ZodObject<{ captcha_token: z$1.ZodOptional; telegram_auth_result: z$1.ZodOptional; last_name: z$1.ZodOptional; photo_url: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>>; telegram_web_app_data: z$1.ZodOptional; auth_date: z$1.ZodNumber; hash: z$1.ZodString; user: z$1.ZodString; chat_instance: z$1.ZodOptional; chat_type: z$1.ZodOptional; start_param: z$1.ZodOptional; signature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }>>; } & { mode: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { mode?: "no-signup" | "login-or-sign-up" | undefined; captcha_token?: string | undefined; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }, { mode?: "no-signup" | "login-or-sign-up" | undefined; captcha_token?: string | undefined; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }>; interface PrivyTelegramAuthenticateInput extends z$1.infer { } declare const TelegramLinkInput: z$1.ZodObject<{ captcha_token: z$1.ZodOptional; telegram_auth_result: z$1.ZodOptional; last_name: z$1.ZodOptional; photo_url: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>>; telegram_web_app_data: z$1.ZodOptional; auth_date: z$1.ZodNumber; hash: z$1.ZodString; user: z$1.ZodString; chat_instance: z$1.ZodOptional; chat_type: z$1.ZodOptional; start_param: z$1.ZodOptional; signature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }>>; } & { mode: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { mode?: "no-signup" | "login-or-sign-up" | undefined; captcha_token?: string | undefined; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }, { mode?: "no-signup" | "login-or-sign-up" | undefined; captcha_token?: string | undefined; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }>; interface PrivyTelegramLinkInput extends z$1.infer { } declare const TelegramUnlinkInput: z$1.ZodObject<{ telegram_user_id: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { telegram_user_id: string; }, { telegram_user_id: string; }>; interface PrivyTelegramUnlinkInput extends z$1.infer { } declare const TransferTelegramInput: z$1.ZodObject<{ nonce: z$1.ZodString; } & { telegram_auth_result: z$1.ZodOptional; last_name: z$1.ZodOptional; photo_url: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>>; telegram_web_app_data: z$1.ZodOptional; auth_date: z$1.ZodNumber; hash: z$1.ZodString; user: z$1.ZodString; chat_instance: z$1.ZodOptional; chat_type: z$1.ZodOptional; start_param: z$1.ZodOptional; signature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }, { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { nonce: string; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }, { nonce: string; telegram_auth_result?: { id: number; hash: string; first_name: string; auth_date: number; username?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | undefined; telegram_web_app_data?: { hash: string; user: string; auth_date: number; signature?: string | undefined; query_id?: string | undefined; chat_instance?: string | undefined; chat_type?: string | undefined; start_param?: string | undefined; } | undefined; }>; interface PrivyTransferTelegramInput extends z$1.infer { } declare const RefreshTokenInput: z.ZodObject<{ refresh_token: z.ZodString; }, "strip", z.ZodTypeAny, { refresh_token: string; }, { refresh_token: string; }>; interface PrivyRefreshTokenInput extends z.infer { } /** * In the case of a customer using cookies, refreshToken is in the cookies instead of the body */ declare const OptionalRefreshTokenInput: z.ZodObject<{ refresh_token: z.ZodOptional; }, "strip", z.ZodTypeAny, { refresh_token?: string | undefined; }, { refresh_token?: string | undefined; }>; interface PrivyOptionalRefreshTokenInput extends z.infer { } declare const EmailAccount: z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>; interface PrivyEmailAccount extends z.infer { } declare const PhoneAccount: z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>; interface PrivyPhoneAccount extends z.infer { } declare const BaseWalletAccount: z.ZodObject<{ type: z.ZodEnum<["wallet", "smart_wallet"]>; address: z.ZodString; chain_type: z.ZodEnum<["solana", "ethereum"]>; }, "strip", z.ZodTypeAny, { type: "wallet" | "smart_wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet" | "smart_wallet"; address: string; chain_type: "solana" | "ethereum"; }>; interface PrivyBaseWalletAccount extends z.infer { } declare const EthereumAccount: z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>; interface PrivyEthereumAccount extends z.infer { } declare const SmartWalletAccount: z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>; interface PrivySmartWalletAccount extends z.infer { } declare const SolanaAccount: z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>; interface PrivySolanaAccount extends z.infer { } declare const FarcasterAccount: z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>; interface PrivyFarcasterAccount extends z.infer { } declare const PasskeyAccount: z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>; interface PrivyPasskeyAccount extends z.infer { } declare const TelegramAccount: z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>; interface PrivyTelegramAccount extends z.infer { } declare const EthereumEmbeddedWalletAccount: z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>; interface PrivyEthereumEmbeddedWalletAccount extends z.infer { } declare const SolanaEmbeddedWalletAccount: z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>; interface PrivySolanaEmbeddedWalletAccount extends z.infer { } declare const BitcoinSegwitEmbeddedWalletAccount: z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>; interface PrivyBitcoinSegwitEmbeddedWalletAccount extends z.infer { } declare const BitcoinTaprootEmbeddedWalletAccount: z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>; interface PrivyBitcoinTaprootEmbeddedWalletAccount extends z.infer { } declare const CurveSigningEmbeddedWalletAccount: z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>; interface PrivyCurveSigningEmbeddedWalletAccount extends z.infer { } declare const UnifiedWalletAccount: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; chain_type: z.ZodLiteral<"ethereum">; } & { id: z.ZodString; recovery_method: z.ZodLiteral<"privy-v2">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "privy-v2"; }, { type: "wallet"; id: string; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "privy-v2"; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; } & { id: z.ZodString; recovery_method: z.ZodLiteral<"privy-v2">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "privy-v2"; }, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "privy-v2"; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; } & { id: z.ZodString; recovery_method: z.ZodLiteral<"privy-v2">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "privy-v2"; }, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "privy-v2"; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; } & { id: z.ZodString; recovery_method: z.ZodLiteral<"privy-v2">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "privy-v2"; }, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "privy-v2"; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; } & { id: z.ZodString; recovery_method: z.ZodLiteral<"privy-v2">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "privy-v2"; }, { type: "wallet"; id: string; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "privy-v2"; imported?: boolean | undefined; delegated?: boolean | undefined; }>]>; type PrivyUnifiedWalletAccount = z.infer; declare const GoogleOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyGoogleOauthAccount extends z.infer { } declare const TwitterOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>; interface PrivyTwitterOauthAccount extends z.infer { } declare const DiscordOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyDiscordOauthAccount extends z.infer { } declare const GithubOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyGithubOauthAccount extends z.infer { } declare const LinkedInOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>; interface PrivyLinkedInOauthAccount extends z.infer { } declare const SpotifyOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivySpotifyOauthAccount extends z.infer { } declare const InstagramOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyInstagramOauthAccount extends z.infer { } declare const TiktokOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyTiktokOauthAccount extends z.infer { } declare const LineOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>; interface PrivyLineOauthAccount extends z.infer { } declare const TwitchOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyTwitchOauthAccount extends z.infer { } declare const AppleOauthAccount: z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>; interface PrivyAppleOauthAccount extends z.infer { } declare const CustomOauthAccount: z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>; interface PrivyCustomOauthAccount extends z.infer { } declare const CustomJwtAccount: z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>; interface PrivyCustomJwtAccount extends z.infer { } declare const CrossAppEmbeddedWallet: z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>; declare const CrossAppSmartWallet: z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>; declare const CrossAppAccount: z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>; interface PrivyCrossAppWalletAccount extends z.infer { } declare const AuthorizationKeyAccount: z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>; interface PrivySignerAccount extends z.infer { } declare const LinkedAccount: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>; type PrivyLinkedAccount = z.infer; declare const SmsMfaMethod: z.ZodObject<{ type: z.ZodLiteral<"sms">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>; interface PrivySmsMfaMethod extends z.infer { } declare const TotpMfaMethod: z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>; interface PrivyTotpMfaMethod extends z.infer { } declare const PasskeyMfaMethod: z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>; interface PrivyPasskeyMfaMethod extends z.infer { } declare const LinkedMfaMethod: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"sms">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>; declare const CustomMetadata: z.ZodRecord>; type CustomMetadataType = z.infer; declare const OAuthTokens: z.ZodObject<{ provider: z.ZodString; access_token: z.ZodString; access_token_expires_in_seconds: z.ZodOptional; refresh_token: z.ZodOptional; refresh_token_expires_in_seconds: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }>; declare const User: z.ZodObject<{ id: z.ZodString; linked_accounts: z.ZodArray; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>, "many">; mfa_methods: z.ZodArray; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>, "many">; created_at: z.ZodNumber; has_accepted_terms: z.ZodBoolean; is_guest: z.ZodBoolean; custom_metadata: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }>; declare const SessionUpdateActionEnum: z.ZodEnum<["set", "ignore", "clear"]>; type SessionUpdateAction = z.infer; declare const UserWithIdentityToken: z.ZodObject<{ user: z.ZodObject<{ id: z.ZodString; linked_accounts: z.ZodArray; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>, "many">; mfa_methods: z.ZodArray; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>, "many">; created_at: z.ZodNumber; has_accepted_terms: z.ZodBoolean; is_guest: z.ZodBoolean; custom_metadata: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }>; identity_token: z.ZodNullable; }, "strip", z.ZodTypeAny, { user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; identity_token: string | null; }, { user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; identity_token: string | null; }>; declare const AuthenticatedUser: z.ZodObject<{ user: z.ZodObject<{ id: z.ZodString; linked_accounts: z.ZodArray; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>, "many">; mfa_methods: z.ZodArray; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>, "many">; created_at: z.ZodNumber; has_accepted_terms: z.ZodBoolean; is_guest: z.ZodBoolean; custom_metadata: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }>; token: z.ZodNullable; privy_access_token: z.ZodNullable; refresh_token: z.ZodNullable; identity_token: z.ZodOptional; is_new_user: z.ZodOptional; oauth_tokens: z.ZodOptional; refresh_token: z.ZodOptional; refresh_token_expires_in_seconds: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }>>; oauth_provider_tokens: z.ZodOptional; refresh_token: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; }>>; /** * Instructs the client on how to handle tokens received from /sessions endpoint * Seeks to mimic the behavior of cookies with manual storage * * - `set`: _write both tokens to storage_ * - `clear`: _remove tokens from storage_ * - `ignore`: _leave tokens storage unchanged_ */ session_update_action: z.ZodEnum<["set", "ignore", "clear"]>; }, "strip", z.ZodTypeAny, { token: string | null; refresh_token: string | null; user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; privy_access_token: string | null; session_update_action: "set" | "ignore" | "clear"; identity_token?: string | undefined; is_new_user?: boolean | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; oauth_provider_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; } | undefined; }, { token: string | null; refresh_token: string | null; user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; privy_access_token: string | null; session_update_action: "set" | "ignore" | "clear"; identity_token?: string | undefined; is_new_user?: boolean | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; oauth_provider_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; } | undefined; }>; interface PrivyUser extends z.infer { } interface PrivyUserWithIdentityToken extends z.infer { } interface PrivyAuthenticatedUser extends z.infer { } declare const LoggedOutUser: z.ZodObject<{ user: z.ZodNull; token: z.ZodNull; refresh_token: z.ZodNull; /** Instructs the client to clear any persisted tokens */ session_update_action: z.ZodLiteral<"clear">; }, "strip", z.ZodTypeAny, { token: null; refresh_token: null; user: null; session_update_action: "clear"; }, { token: null; refresh_token: null; user: null; session_update_action: "clear"; }>; interface PrivyLoggedOutUser extends z.infer { } declare const MaybeUser: z.ZodUnion<[z.ZodObject<{ user: z.ZodObject<{ id: z.ZodString; linked_accounts: z.ZodArray; address: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodOptional; phoneNumber: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }, { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; /** * @deprecated Will be removed in a future release */ chain_id: z.ZodOptional; chain_type: z.ZodLiteral<"ethereum">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodString; chain_type: z.ZodLiteral<"solana">; /** * @deprecated Use `wallet_client_type` instead. */ wallet_client: z.ZodLiteral<"unknown">; wallet_client_type: z.ZodOptional; connector_type: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }, { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"smart_wallet">; address: z.ZodString; smart_wallet_type: z.ZodEnum<["safe", "kernel", "biconomy", "light_account", "coinbase_smart_wallet", "thirdweb"]>; smart_wallet_version: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }, { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"ethereum">; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"solana">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-segwit">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodLiteral<"bitcoin-taproot">; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodDefault>; type: z.ZodLiteral<"wallet">; address: z.ZodString; imported: z.ZodDefault; delegated: z.ZodDefault; wallet_index: z.ZodNumber; chain_id: z.ZodString; wallet_client: z.ZodLiteral<"privy">; wallet_client_type: z.ZodLiteral<"privy">; connector_type: z.ZodLiteral<"embedded">; recovery_method: z.ZodEnum<["privy", "user-passcode", "google-drive", "icloud", "recovery-encryption-key", "privy-v2"]>; verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; } & { chain_type: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; public_key: z.ZodString; }, "strip", z.ZodTypeAny, { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; }, { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodString; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodNullable; name: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; name: z.ZodNullable; email: z.ZodNullable; profile_picture_url: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }, { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodNullable; vanity_name: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }, { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodNullable; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }, { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; }>, z.ZodObject<{ type: z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>; subject: z.ZodString; name: z.ZodOptional; username: z.ZodOptional; email: z.ZodOptional; profile_picture_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }, { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }, { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; signer_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }, { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; created_with_browser: z.ZodOptional; created_with_os: z.ZodOptional; created_with_device: z.ZodOptional; credential_id: z.ZodString; authenticator_name: z.ZodOptional; public_key: z.ZodOptional; enrolled_in_mfa: z.ZodBoolean; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }, { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; }>, z.ZodEffects; telegram_user_id: z.ZodString; first_name: z.ZodOptional>; last_name: z.ZodOptional>; username: z.ZodOptional>; photo_url: z.ZodOptional>; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }, { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cross_app">; subject: z.ZodString; provider_app_id: z.ZodString; embedded_wallets: z.ZodArray, "many">; smart_wallets: z.ZodArray, "many">; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }, { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; }>, z.ZodObject<{ type: z.ZodLiteral<"authorization_key">; public_key: z.ZodString; /** @deprecated use `first_verified_at` instead. */ verified_at: z.ZodNumber; first_verified_at: z.ZodNullable; latest_verified_at: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }, { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; }>]>, "many">; mfa_methods: z.ZodArray; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "sms"; verified_at: number; }, { type: "sms"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"totp">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "totp"; verified_at: number; }, { type: "totp"; verified_at: number; }>, z.ZodObject<{ type: z.ZodLiteral<"passkey">; verified_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "passkey"; verified_at: number; }, { type: "passkey"; verified_at: number; }>]>, "many">; created_at: z.ZodNumber; has_accepted_terms: z.ZodBoolean; is_guest: z.ZodBoolean; custom_metadata: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }, { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }>; token: z.ZodNullable; privy_access_token: z.ZodNullable; refresh_token: z.ZodNullable; identity_token: z.ZodOptional; is_new_user: z.ZodOptional; oauth_tokens: z.ZodOptional; refresh_token: z.ZodOptional; refresh_token_expires_in_seconds: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; }>>; oauth_provider_tokens: z.ZodOptional; refresh_token: z.ZodOptional; scopes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; }, { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; }>>; /** * Instructs the client on how to handle tokens received from /sessions endpoint * Seeks to mimic the behavior of cookies with manual storage * * - `set`: _write both tokens to storage_ * - `clear`: _remove tokens from storage_ * - `ignore`: _leave tokens storage unchanged_ */ session_update_action: z.ZodEnum<["set", "ignore", "clear"]>; }, "strip", z.ZodTypeAny, { token: string | null; refresh_token: string | null; user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { firstName?: string | null | undefined; telegramUserId: string; type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; id: string | null; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "wallet"; id: string | null; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; imported: boolean; delegated: boolean; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; privy_access_token: string | null; session_update_action: "set" | "ignore" | "clear"; identity_token?: string | undefined; is_new_user?: boolean | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; oauth_provider_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; } | undefined; }, { token: string | null; refresh_token: string | null; user: { id: string; mfa_methods: ({ type: "sms"; verified_at: number; } | { type: "totp"; verified_at: number; } | { type: "passkey"; verified_at: number; })[]; created_at: number; linked_accounts: ({ type: "email"; address: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; } | { type: "phone"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; phoneNumber: string; number?: string | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; chain_id?: string | undefined; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "smart_wallet"; address: string; smart_wallet_type: "safe" | "kernel" | "biconomy" | "light_account" | "coinbase_smart_wallet" | "thirdweb"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; smart_wallet_version?: string | undefined; } | { type: "wallet"; address: string; chain_type: "solana"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "unknown"; wallet_client_type?: string | undefined; connector_type?: string | undefined; } | { type: "farcaster"; fid: number; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; signer_public_key?: string | undefined; } | { type: "passkey"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; credential_id: string; enrolled_in_mfa: boolean; public_key?: string | undefined; created_with_browser?: string | undefined; created_with_os?: string | undefined; created_with_device?: string | undefined; authenticator_name?: string | undefined; } | { type: "telegram"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; telegram_user_id: string; username?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; photo_url?: string | null | undefined; } | { type: "wallet"; address: string; chain_type: "ethereum"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "solana"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-segwit"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "bitcoin-taproot"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "wallet"; address: string; public_key: string; chain_type: "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton"; chain_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; wallet_client: "privy"; wallet_client_type: "privy"; connector_type: "embedded"; wallet_index: number; recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2"; id?: string | null | undefined; imported?: boolean | undefined; delegated?: boolean | undefined; } | { type: "google_oauth"; name: string | null; email: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "twitter_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "discord_oauth"; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "github_oauth"; name: string | null; email: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "linkedin_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; vanity_name?: string | undefined; } | { type: "spotify_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "instagram_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "line_oauth"; name: string | null; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; profile_picture_url: string | null; subject: string; } | { type: "twitch_oauth"; username: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: "apple_oauth"; email: string | null; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; } | { type: `custom:${string}`; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; name?: string | undefined; email?: string | undefined; username?: string | undefined; profile_picture_url?: string | undefined; } | { type: "custom_auth"; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; custom_user_id: string; } | { type: "cross_app"; provider_app_id: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; subject: string; embedded_wallets: { address: string; }[]; smart_wallets: { address: string; }[]; } | { type: "authorization_key"; public_key: string; verified_at: number; first_verified_at: number | null; latest_verified_at: number | null; })[]; has_accepted_terms: boolean; is_guest: boolean; custom_metadata?: Record | undefined; }; privy_access_token: string | null; session_update_action: "set" | "ignore" | "clear"; identity_token?: string | undefined; is_new_user?: boolean | undefined; oauth_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; refresh_token_expires_in_seconds?: number | undefined; scopes?: string[] | undefined; } | undefined; oauth_provider_tokens?: { provider: string; access_token: string; access_token_expires_in_seconds?: number | undefined; refresh_token?: string | undefined; scopes?: string[] | undefined; } | undefined; }>, z.ZodObject<{ user: z.ZodNull; token: z.ZodNull; refresh_token: z.ZodNull; /** Instructs the client to clear any persisted tokens */ session_update_action: z.ZodLiteral<"clear">; }, "strip", z.ZodTypeAny, { token: null; refresh_token: null; user: null; session_update_action: "clear"; }, { token: null; refresh_token: null; user: null; session_update_action: "clear"; }>]>; type PrivyEmbeddedWalletAccount = PrivyEthereumEmbeddedWalletAccount | PrivySolanaEmbeddedWalletAccount | PrivyBitcoinSegwitEmbeddedWalletAccount | PrivyBitcoinTaprootEmbeddedWalletAccount | PrivyCurveSigningEmbeddedWalletAccount; /** This file is types pulled from the Spark SDK, converted to zod types we can return */ declare const SparkSigningKeyshare: z.ZodObject<{ owner_identifiers: z.ZodArray; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>; type SparkSigningKeyshare = z.infer; declare const SparkNetwork: z.ZodEnum<["MAINNET", "REGTEST"]>; type SparkNetworkType = z.infer; declare const SparkWalletLeaf: z.ZodObject<{ id: z.ZodString; tree_id: z.ZodString; value: z.ZodNumber; parent_node_id: z.ZodOptional; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>; type SparkWalletLeaf = z.infer; declare const SparkTransferLeaf: z.ZodObject<{ leaf: z.ZodOptional; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>; type SparkTransferLeaf = z.infer; declare const SparkTransfer: z.ZodObject<{ id: z.ZodString; sender_identity_public_key: z.ZodString; receiver_identity_public_key: z.ZodString; status: z.ZodString; total_value: z.ZodNumber; expiry_time: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>; type SparkTransfer = z.infer; declare const SparkUserTokenMetadata: z.ZodObject<{ /** Raw binary token identifier - This is used to encode the human readable token identifier */ raw_token_identifier: z.ZodString; /** Public key of the token issuer - Same as issuerPublicKey */ token_public_key: z.ZodString; /** Human-readable name of the token (e.g., SparkToken)*/ token_name: z.ZodString; /** Short ticker symbol for the token (e.g., "SPK") */ token_ticker: z.ZodString; /** Number of decimal places for token amounts */ decimals: z.ZodNumber; /** Maximum supply of tokens that can ever be minted */ max_supply: z.ZodString; }, "strip", z.ZodTypeAny, { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }, { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }>; type SparkUserTokenMetadata = z.infer; declare const SparkTokenBalance: z.ZodObject<{ balance: z.ZodString; token_metadata: z.ZodObject<{ /** Raw binary token identifier - This is used to encode the human readable token identifier */ raw_token_identifier: z.ZodString; /** Public key of the token issuer - Same as issuerPublicKey */ token_public_key: z.ZodString; /** Human-readable name of the token (e.g., SparkToken)*/ token_name: z.ZodString; /** Short ticker symbol for the token (e.g., "SPK") */ token_ticker: z.ZodString; /** Number of decimal places for token amounts */ decimals: z.ZodNumber; /** Maximum supply of tokens that can ever be minted */ max_supply: z.ZodString; }, "strip", z.ZodTypeAny, { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }, { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }>; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>; type SparkTokenBalance = z.infer; declare const SparkBalance: z.ZodObject<{ balance: z.ZodString; token_balances: z.ZodRecord; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>; type SparkBalance = z.infer; declare const OutputWithPreviousTransactionData: z.ZodObject<{ output: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>; type OutputWithPreviousTransactionData = z.infer; declare const SparkLightningReceiveRequest: z.ZodObject<{ /** The unique identifier of this entity across all Lightspark systems */ id: z.ZodString; /** The date and time when the entity was first created */ created_at: z.ZodString; /** The date and time when the entity was last updated */ updated_at: z.ZodString; /** The network the lightning send request is on */ network: z.ZodString; /** The lightning invoice generated to receive lightning payment */ invoice: z.ZodAny; /** The status of the request */ status: z.ZodString; /** The typename of the object */ typename: z.ZodString; /** The leaves transfer after lightning payment was received */ transfer: z.ZodOptional; /** The payment preimage of the invoice if retrieved from SE */ payment_preimage: z.ZodOptional; /** The receiver's identity public key if different from owner of the request */ receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>; type SparkLightningReceiveRequest = z.infer; declare const SparkLightningSendRequest: z.ZodObject<{ /** The unique identifier of this entity across all Lightspark systems */ id: z.ZodString; /** The date and time when the entity was first created */ created_at: z.ZodString; /** The date and time when the entity was last updated */ updated_at: z.ZodString; /** The network the lightning send request is on */ network: z.ZodString; /** The lightning invoice user requested to pay */ encoded_invoice: z.ZodString; /** The fee charged for paying the lightning invoice */ fee: z.ZodObject<{ /** The original numeric value for this CurrencyAmount */ original_value: z.ZodNumber; /** The original unit of currency for this CurrencyAmount */ original_unit: z.ZodString; /** The unit of user's preferred currency */ preferred_currency_unit: z.ZodString; /** The rounded numeric value for this CurrencyAmount in the very base level of user's preferred currency */ preferred_currency_value_rounded: z.ZodNumber; /** The approximate float value for this CurrencyAmount in the very base level of user's preferred currency */ preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; /** The idempotency key of the request */ idempotency_key: z.ZodString; /** The status of the request */ status: z.ZodString; /** The typename of the object */ typename: z.ZodString; /** The leaves transfer after lightning payment was sent */ transfer: z.ZodOptional; /** The preimage of the payment */ payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>; type SparkLightningSendRequest = z.infer; declare const WalletApiTransferRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"transfer">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiTransferRpcInputType = z.infer; declare const WalletApiGetBalanceRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getBalance">; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiGetBalanceRpcInputType = z.infer; declare const WalletApiTransferTokensRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"transferTokens">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The hex-encoded token identifier of the token to transfer */ token_identifier: z.ZodString; /** The amount of tokens to transfer */ token_amount: z.ZodNumber; /** The recipient's Spark address */ receiver_spark_address: z.ZodString; /** Strategy for selecting outputs - either "SMALL_FIRST" or "LARGE_FIRST" */ output_selection_strategy: z.ZodOptional>; /** Specific token outputs to use for the transfer */ selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiTransferTokensRpcInputType = z.infer; declare const WalletApiGetStaticDepositAddressRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getStaticDepositAddress">; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiGetStaticDepositAddressRpcInputType = z.infer; declare const WalletApiGetClaimStaticDepositQuoteRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getClaimStaticDepositQuote">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The transaction ID of the deposit */ transaction_id: z.ZodString; /** The output index of the deposit (optional) */ output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiGetClaimStaticDepositQuoteRpcInputType = z.infer; declare const WalletApiClaimStaticDepositRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"claimStaticDeposit">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The transaction ID of the deposit */ transaction_id: z.ZodString; /** The output index of the deposit (optional) */ output_index: z.ZodOptional; /** The credit amount in satoshis from the quote */ credit_amount_sats: z.ZodNumber; /** The signature from the quote */ signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiClaimStaticDepositRpcInputType = z.infer; declare const WalletApiCreateLightningInvoiceRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"createLightningInvoice">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The amount of the invoice in satoshis */ amount_sats: z.ZodNumber; /** The memo/description for the invoice */ memo: z.ZodOptional; /** The expiry time in seconds (defaults to 30 days) */ expiry_seconds: z.ZodOptional; /** Whether to include the Spark address in the invoice */ include_spark_address: z.ZodOptional; /** The receiver identity public key */ receiver_identity_pubkey: z.ZodOptional; /** The description hash for the invoice */ description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiCreateLightningInvoiceRpcInputType = z.infer; declare const WalletApiPayLightningInvoiceRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"payLightningInvoice">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The Lightning invoice to pay */ invoice: z.ZodString; /** The maximum fee in satoshis to pay */ max_fee_sats: z.ZodNumber; /** Whether to prefer Spark for payment */ prefer_spark: z.ZodOptional; /** The amount in satoshis to send (for zero-amount invoices) */ amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiPayLightningInvoiceRpcInputType = z.infer; declare const WalletApiSignMessageWithIdentityKeyRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signMessageWithIdentityKey">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The message to sign with the identity key */ message: z.ZodString; /** Whether to use compact signature format (optional) */ compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>; type WalletApiSignMessageWithIdentityKeyRpcInputType = z.infer; declare const WalletApiSparkRpcInput: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"transfer">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getBalance">; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"transferTokens">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The hex-encoded token identifier of the token to transfer */ token_identifier: z.ZodString; /** The amount of tokens to transfer */ token_amount: z.ZodNumber; /** The recipient's Spark address */ receiver_spark_address: z.ZodString; /** Strategy for selecting outputs - either "SMALL_FIRST" or "LARGE_FIRST" */ output_selection_strategy: z.ZodOptional>; /** Specific token outputs to use for the transfer */ selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getStaticDepositAddress">; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"getClaimStaticDepositQuote">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The transaction ID of the deposit */ transaction_id: z.ZodString; /** The output index of the deposit (optional) */ output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"claimStaticDeposit">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The transaction ID of the deposit */ transaction_id: z.ZodString; /** The output index of the deposit (optional) */ output_index: z.ZodOptional; /** The credit amount in satoshis from the quote */ credit_amount_sats: z.ZodNumber; /** The signature from the quote */ signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"createLightningInvoice">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The amount of the invoice in satoshis */ amount_sats: z.ZodNumber; /** The memo/description for the invoice */ memo: z.ZodOptional; /** The expiry time in seconds (defaults to 30 days) */ expiry_seconds: z.ZodOptional; /** Whether to include the Spark address in the invoice */ include_spark_address: z.ZodOptional; /** The receiver identity public key */ receiver_identity_pubkey: z.ZodOptional; /** The description hash for the invoice */ description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"payLightningInvoice">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The Lightning invoice to pay */ invoice: z.ZodString; /** The maximum fee in satoshis to pay */ max_fee_sats: z.ZodNumber; /** Whether to prefer Spark for payment */ prefer_spark: z.ZodOptional; /** The amount in satoshis to send (for zero-amount invoices) */ amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signMessageWithIdentityKey">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The message to sign with the identity key */ message: z.ZodString; /** Whether to use compact signature format (optional) */ compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { /** The Spark network for the action. Either 'MAINNET' or 'REGTEST', defaults to 'MAINNET' */ network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>; /** Response types */ declare const WalletApiTransferRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"transfer">; /** Data returned by the RPC method. */ data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }>; type WalletApiTransferRpcResponseType = z.infer; declare const WalletApiGetBalanceRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"getBalance">; /** Data returned by the RPC method. */ data: z.ZodOptional; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>>; }, "strip", z.ZodTypeAny, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }>; type WalletApiGetBalanceRpcResponseType = z.infer; declare const WalletApiTransferTokensRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"transferTokens">; /** Data returned by the RPC method. */ data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "transferTokens"; data?: { id: string; } | undefined; }, { method: "transferTokens"; data?: { id: string; } | undefined; }>; type WalletApiTransferTokensRpcResponseType = z.infer; declare const WalletApiGetStaticDepositAddressRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"getStaticDepositAddress">; /** Data returned by the RPC method. */ data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }>; type WalletApiGetStaticDepositAddressRpcResponseType = z.infer; declare const WalletApiGetClaimStaticDepositQuoteRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"getClaimStaticDepositQuote">; /** Data returned by the RPC method. */ data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }>; type WalletApiGetClaimStaticDepositQuoteRpcResponseType = z.infer; declare const WalletApiClaimStaticDepositRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"claimStaticDeposit">; /** Data returned by the RPC method. */ data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }>; type WalletApiClaimStaticDepositRpcResponseType = z.infer; declare const WalletApiCreateLightningInvoiceRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"createLightningInvoice">; /** Data returned by the RPC method. */ data: z.ZodOptional; payment_preimage: z.ZodOptional; receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>; type WalletApiCreateLightningInvoiceRpcResponseType = z.infer; declare const WalletApiPayLightningInvoiceRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"payLightningInvoice">; /** Data returned by the RPC method. */ data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>, z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; network: z.ZodString; encoded_invoice: z.ZodString; fee: z.ZodObject<{ original_value: z.ZodNumber; original_unit: z.ZodString; preferred_currency_unit: z.ZodString; preferred_currency_value_rounded: z.ZodNumber; preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; idempotency_key: z.ZodString; status: z.ZodString; typename: z.ZodString; transfer: z.ZodOptional; payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>; type WalletApiPayLightningInvoiceRpcResponseType = z.infer; declare const WalletApiSignMessageWithIdentityKeyRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signMessageWithIdentityKey">; /** Data returned by the RPC method. */ data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }>; type WalletApiSignMessageWithIdentityKeyRpcResponseType = z.infer; declare const CurveType: z.ZodEnum<["secp256k1", "ed25519", "starknet"]>; type CurveType = z.infer; /** * examples of valid HDPaths: * * "m" // Just master key * "M/0" // Upper case M is also valid * "m/0'/1'/2'" // All hardened derivation * "m/0/1/2" // All non-hardened * "m/44'/60'/0'/0/0" // Standard Ethereum path * "m/44'/501'/0'/0'" // Standard Solana path * "m/84'/0'/0'/0/0" // Bitcoin Native SegWit * * For more info on HDPaths, see: * https://learnmeabitcoin.com/technical/keys/hd-wallets/derivation-paths/ */ declare const HDPath: z.ZodString; type HDPath = z.infer; declare const ECDSA: z.ZodLiteral<"ECDSA">; declare const EdDSA: z.ZodLiteral<"EdDSA">; declare const SigningAlgorithm: z.ZodUnion<[z.ZodLiteral<"ECDSA">, z.ZodLiteral<"EdDSA">]>; type SigningAlgorithm = z.infer; /** A valid CAIP-2 chain ID */ declare const CAIP2: z.ZodString; declare const AuthorizationKeyRole: z.ZodNullable>; type AuthorizationKeyRole = z.infer; declare const WalletApiSolanaSignTransactionRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>; declare const WalletApiSolanaSignAndSendTransactionRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signAndSendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign and send with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>; type WalletApiSolanaSignAndSendTransactionRpcInputType = z.infer; declare const WalletApiSolanaSignMessageRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signMessage">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>; declare const Hex: z.ZodEffects; /** * @deprecated use {@link Hex} instead */ declare const Hash: z.ZodEffects, `0x${string}`, string>; declare const Quantity: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; type QuantityType = z.infer; declare const UnsignedEthereumTransaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; type UnsignedEthereumTransactionType = z.infer; declare const WalletApiEthereumSignTransactionRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>; declare const WalletApiEthereumSendTransactionRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>; type WalletApiEthereumSendTransactionRpcInputType = z.infer; declare const WalletApiEthereumPersonalSignRpcInputParams: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message (utf-8 for plaintext, hex for raw bytes). */ encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; type WalletApiEthereumPersonalSignRpcInputParamsType = z.infer; declare const WalletApiEthereumPersonalSignRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"personal_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message (utf-8 for plaintext, hex for raw bytes). */ encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>; declare const WalletApiEthereumSecp256k1SignRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"secp256k1_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The hash to sign. */ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>; declare const WalletApiEthereumSign7702AuthorizationRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sign7702Authorization">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Contract address to authorize. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** (optional) The nonce to be used for the authorization (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>; type WalletApiEthereumSign7702AuthorizationRpcInputType = z.infer; declare const WalletApiRawSignInput: z.ZodObject<{ /** Parameters for the RPC method. */ params: z.ZodUnion<[z.ZodObject<{ /** The hash to sign. */ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>, z.ZodObject<{ /** The bytes to hash and sign. Must be encoded per the scheme in `encoding`. */ bytes: z.ZodString; /** Encoding scheme for the bytes (only utf-8 supported for now). */ encoding: z.ZodLiteral<"utf-8">; }, "strict", z.ZodTypeAny, { encoding: "utf-8"; bytes: string; }, { encoding: "utf-8"; bytes: string; }>]>; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; } | { encoding: "utf-8"; bytes: string; }; }, { params: { hash: string; } | { encoding: "utf-8"; bytes: string; }; }>; type WalletApiRawSignInputType = z.infer; declare const TypedDataDomainInputParams: z.ZodRecord; type TypedDataDomainInputParamsType = z.infer; declare const TypedDataTypesInputParams: z.ZodRecord, "many">>; type TypedDataTypesInputParamsType = z.infer; declare const WalletApiEthereumSignTypedDataRpcInput: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTypedData_v4">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The JSON typed data to sign with the wallet. */ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>; declare const WalletApiExportPrivateKeyRpcInput: z.ZodObject<{ address: z.ZodString; /** RPC method to export the private key with the wallet. */ method: z.ZodLiteral<"exportPrivateKey">; /** Parameters for the RPC method. */ params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>; type WalletApiExportPrivateKeyRpcInputType = z.infer; declare const WalletApiEthereumRpcInput: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"personal_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message (utf-8 for plaintext, hex for raw bytes). */ encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTypedData_v4">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The JSON typed data to sign with the wallet. */ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"secp256k1_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The hash to sign. */ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sign7702Authorization">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Contract address to authorize. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** (optional) The nonce to be used for the authorization (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>; declare const WalletApiSolanaRpcInput: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signAndSendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign and send with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signMessage">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>; declare const WalletApiRpcInput: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Transaction object to sign with the wallet. */ transaction: z.ZodObject<{ /** The address the transaction is sent from. Must be hexadecimal formatted. */ from: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"personal_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message (utf-8 for plaintext, hex for raw bytes). */ encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_signTypedData_v4">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The JSON typed data to sign with the wallet. */ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"secp256k1_sign">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** The hash to sign. */ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"eth_sign7702Authorization">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Contract address to authorize. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** (optional) The nonce to be used for the authorization (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signTransaction">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signAndSendTransaction">; /** The CAIP-2 chain id to send the transaction on. */ caip2: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Serialized transaction object to sign and send with the wallet. Must be encoded per the scheme in `encoding`. */ transaction: z.ZodString; /** Encoding scheme for the transaction. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; /** Optional sponsor parameter to enable gas sponsorship for this transaction. */ sponsor: z.ZodOptional; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodLiteral<"signMessage">; /** Parameters for the RPC method. */ params: z.ZodObject<{ /** Message to sign with the wallet. Must be encoded per the scheme in `encoding`. */ message: z.ZodString; /** Encoding scheme for the message. */ encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { /** Address of the wallet. */ address: z.ZodOptional>; /** Chain type of the wallet. */ chain_type: z.ZodOptional>; /** The ID of the wallet. This is legacy, we now pull this from the URL path, but this needs to be in the schema so we can enforce errors on unexpected keys */ wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; /** RPC method to export the private key with the wallet. */ method: z.ZodLiteral<"exportPrivateKey">; /** Parameters for the RPC method. */ params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; type WalletApiRpcInputType = z.infer; declare const WalletApiSolanaSignTransactionRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signed_transaction: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { encoding: "base64"; signed_transaction: string; }, { encoding: "base64"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }>; type WalletApiSolanaSignTransactionRpcResponseType = z.infer; declare const WalletApiSolanaSignAndSendTransactionRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signAndSendTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ transaction_id: z.ZodOptional; /** Blockchain hash of the sent transaction. */ hash: z.ZodString; /** The CAIP-2 chain id the transaction was sent on. */ caip2: z.ZodString; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; }>; }, "strip", z.ZodTypeAny, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }>; type WalletApiSolanaSignAndSendTransactionRpcResponseType = z.infer; declare const WalletApiSolanaSignMessageRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signMessage">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "base64"; }, { signature: string; encoding: "base64"; }>; }, "strip", z.ZodTypeAny, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }>; type WalletApiSolanaSignMessageRpcResponseType = z.infer; declare const WalletApiEthereumSignTransactionRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_signTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signed_transaction: z.ZodString; /** Encoding of the signed transaction */ encoding: z.ZodLiteral<"rlp">; }, "strip", z.ZodTypeAny, { encoding: "rlp"; signed_transaction: string; }, { encoding: "rlp"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }>; type WalletApiEthereumSignTransactionRpcResponseType = z.infer; declare const WalletApiEthereumSendTransactionRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_sendTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ transaction_id: z.ZodOptional; /** Blockchain hash of the sent transaction. */ hash: z.ZodString; /** The CAIP-2 chain id the transaction was sent on. */ caip2: z.ZodString; /** The transaction object. */ transaction_request: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>>; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }>; type WalletApiEthereumSendTransactionRpcResponseType = z.infer; declare const WalletApiEthereumPersonalSignRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"personal_sign">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }>; type WalletApiEthereumPersonalSignRpcResponseType = z.infer; declare const WalletApiEthereumSecp256k1SignRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"secp256k1_sign">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodEffects; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }>; type WalletApiEthereumSecp256k1SignRpcResponseType = z.infer; declare const EthereumSign7702Authorization: z.ZodObject<{ /** Delegated contract address. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** Nonce to be used for the authorization. */ nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** R value of the signature. */ r: z.ZodEffects; /** S value of the signature. */ s: z.ZodEffects; /** Y parity of the signature. */ y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; type EthereumSign7702AuthorizationType = z.infer; declare const WalletApiEthereumSign7702AuthorizationRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_sign7702Authorization">; /** Data returned by the RPC method. */ data: z.ZodObject<{ authorization: z.ZodObject<{ /** Delegated contract address. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** Nonce to be used for the authorization. */ nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** R value of the signature. */ r: z.ZodEffects; /** S value of the signature. */ s: z.ZodEffects; /** Y parity of the signature. */ y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; }, "strip", z.ZodTypeAny, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }>; }, "strip", z.ZodTypeAny, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }>; type WalletApiEthereumSign7702AuthorizationRpcResponseType = z.infer; declare const WalletApiEthereumSignTypedDataRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_signTypedData_v4">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }>; type WalletApiEthereumSignTypedDataRpcResponseType = z.infer; declare const WalletApiExportPrivateKeyRpcResponse: z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"exportPrivateKey">; /** Data returned by the RPC method. */ data: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strip", z.ZodTypeAny, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }>; type WalletApiExportPrivateKeyRpcResponseType = z.infer; declare const WalletApiRawSignResponse: z.ZodObject<{ /** Data returned by the RPC method. */ data: z.ZodObject<{ signature: z.ZodEffects; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strict", z.ZodTypeAny, { data: { signature: string; encoding: "hex"; }; }, { data: { signature: string; encoding: "hex"; }; }>; type WalletApiRawSignResponseType = z.infer; declare const WalletApiRpcResponse: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signed_transaction: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { encoding: "base64"; signed_transaction: string; }, { encoding: "base64"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signAndSendTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ transaction_id: z.ZodOptional; /** Blockchain hash of the sent transaction. */ hash: z.ZodString; /** The CAIP-2 chain id the transaction was sent on. */ caip2: z.ZodString; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; }>; }, "strip", z.ZodTypeAny, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"signMessage">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "base64"; }, { signature: string; encoding: "base64"; }>; }, "strip", z.ZodTypeAny, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_signTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signed_transaction: z.ZodString; /** Encoding of the signed transaction */ encoding: z.ZodLiteral<"rlp">; }, "strip", z.ZodTypeAny, { encoding: "rlp"; signed_transaction: string; }, { encoding: "rlp"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_sendTransaction">; /** Data returned by the RPC method. */ data: z.ZodObject<{ transaction_id: z.ZodOptional; /** Blockchain hash of the sent transaction. */ hash: z.ZodString; /** The CAIP-2 chain id the transaction was sent on. */ caip2: z.ZodString; /** The transaction object. */ transaction_request: z.ZodOptional>; /** Destination address of the transaction. */ to: z.ZodOptional>; /** The chain ID of network your transaction will be sent on (hexadecimal or number). */ chain_id: z.ZodOptional, z.ZodNumber]>>; /** (optional) The nonce to be used for the transaction (hexadecimal or number). */ nonce: z.ZodOptional, z.ZodNumber]>>; /** (optional) Data to send to the receiving address, especially when calling smart contracts. Must be hexadecimal formatted. */ data: z.ZodOptional>; /** (optional) The value (in wei) be sent with the transaction (hexadecimal or number). */ value: z.ZodOptional, z.ZodNumber]>>; /** (optional) The EIP-2718 transction type (e.g. `2` for EIP-1559 transactions). */ type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; /** (optional) The max units of gas that can be used by this transaction (hexadecimal or number). */ gas_limit: z.ZodOptional, z.ZodNumber]>>; /** (optional) The price (in wei) per unit of gas for this transaction (hexadecimal or number), for use in non EIP-1559 transactions (type 0 or 1). */ gas_price: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; /** (optional) The maxPriorityFeePerGas (hexadecimal or number) to be used in this transaction, for use in EIP-1559 (type 2) transactions. */ max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>>; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"personal_sign">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"secp256k1_sign">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodEffects; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_sign7702Authorization">; /** Data returned by the RPC method. */ data: z.ZodObject<{ authorization: z.ZodObject<{ /** Delegated contract address. */ contract: z.ZodEffects; /** Chain id of the contract. */ chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** Nonce to be used for the authorization. */ nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; /** R value of the signature. */ r: z.ZodEffects; /** S value of the signature. */ s: z.ZodEffects; /** Y parity of the signature. */ y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; }, "strip", z.ZodTypeAny, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }>; }, "strip", z.ZodTypeAny, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"eth_signTypedData_v4">; /** Data returned by the RPC method. */ data: z.ZodObject<{ /** Signature produced by the wallet. */ signature: z.ZodString; /** Encoding of the signature */ encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ /** RPC method executed by the wallet */ method: z.ZodLiteral<"exportPrivateKey">; /** Data returned by the RPC method. */ data: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strip", z.ZodTypeAny, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"transfer">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>>; }, "strip", z.ZodTypeAny, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "transferTokens"; data?: { id: string; } | undefined; }, { method: "transferTokens"; data?: { id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>, z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; network: z.ZodString; encoded_invoice: z.ZodString; fee: z.ZodObject<{ original_value: z.ZodNumber; original_unit: z.ZodString; preferred_currency_unit: z.ZodString; preferred_currency_value_rounded: z.ZodNumber; preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; idempotency_key: z.ZodString; status: z.ZodString; typename: z.ZodString; transfer: z.ZodOptional; payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; data: z.ZodOptional; payment_preimage: z.ZodOptional; receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }>]>; type WalletApiRpcResponseType = z.infer; declare const WalletApiRegisterAuthorizationKeyInput: z.ZodObject<{ display_name: z.ZodOptional; public_key: z.ZodString; role: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { public_key: string; display_name?: string | undefined; role?: "root" | "manager" | "delegated-actions" | null | undefined; }, { public_key: string; display_name?: string | undefined; role?: "root" | "manager" | "delegated-actions" | null | undefined; }>; type WalletApiRegisterAuthorizationKeyInputType = z.infer; declare const Ethereum: z.ZodLiteral<"ethereum">; declare const Solana: z.ZodLiteral<"solana">; declare const Cosmos: z.ZodLiteral<"cosmos">; declare const Stellar: z.ZodLiteral<"stellar">; declare const Sui: z.ZodLiteral<"sui">; declare const Aptos: z.ZodLiteral<"aptos">; declare const Movement: z.ZodLiteral<"movement">; declare const Tron: z.ZodLiteral<"tron">; declare const BitcoinSegwit: z.ZodLiteral<"bitcoin-segwit">; declare const Near: z.ZodLiteral<"near">; declare const Ton: z.ZodLiteral<"ton">; declare const Spark: z.ZodLiteral<"spark">; declare const Starknet: z.ZodLiteral<"starknet">; declare const CurveSigningChainTypes: z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>; type CurveSigningChainType = z.infer; declare const CURVE_SIGNING = "curve_signing"; declare const CurveSigningLiteral: z.ZodLiteral<"curve_signing">; type CurveSigningLiteralType = z.infer; declare const ExtendedChainTypes: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>; type ExtendedChainType = z.infer; declare const FirstClassChainTypes: z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>; type FirstClassChainType = z.infer; declare const ChainType: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; type ChainType = z.infer; type ChainTypeInternalType = Exclude; declare const WalletEntropyType: z.ZodEnum<["hd", "private-key"]>; type WalletEntropyType = z.infer; declare const SolanaWalletDerivationStrategy: z.ZodEnum<["ENTROPY_TO_SEED", "ENTROPY_TO_MNEMONIC_TO_SEED"]>; type SolanaWalletDerivationStrategy = z.infer; declare const WalletResponse: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; type WalletResponseType = z.infer; declare const KeyQuorumId: z.ZodString; type KeyQuorumIdType = z.infer; declare const P256PublicKey: z.ZodString; declare const OwnerInput: z.ZodUnion<[z.ZodObject<{ user_id: z.ZodString; }, "strict", z.ZodTypeAny, { user_id: string; }, { user_id: string; }>, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>; type OwnerInputType = z.infer; declare const OwnerInputFields: { /** The pem-formatted, P-256 public key of the owner of the wallet. This will find or create a key quorum with this public key and set it as the owner. */ owner: z.ZodOptional, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; /** The key quorum ID to set as the owner of the wallet. */ owner_id: z.ZodOptional>; }; declare const PolicyInput: z.ZodOptional>; declare const AdditionalSignerInput: z.ZodArray>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; type AdditionalSignerInputType = z.infer; declare const BaseWalletApiCreateInput: z.ZodObject<{ /** The pem-formatted, P-256 public key of the owner of the wallet. This will find or create a key quorum with this public key and set it as the owner. */ owner: z.ZodOptional, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; /** The key quorum ID to set as the owner of the wallet. */ owner_id: z.ZodOptional>; /** Chain to create wallet for. */ chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; /** Optional policy ID to create wallet for. */ policy_ids: z.ZodOptional>; /** The set of authorization key IDs that can authorize actions on this wallet. * If unspecified, any request authorized by the app secret is sufficient to take * actions with the wallet. */ authorization_key_ids: z.ZodOptional>; /** The minimum number of keys required to authorize actions on this wallet. * Leave unspecified to require all keys to sign a request for any action. */ authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; declare const WalletApiCreateInput: z.ZodCatch, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; /** The key quorum ID to set as the owner of the wallet. */ owner_id: z.ZodOptional>; /** Chain to create wallet for. */ chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; /** Optional policy ID to create wallet for. */ policy_ids: z.ZodOptional>; /** The set of authorization key IDs that can authorize actions on this wallet. * If unspecified, any request authorized by the app secret is sufficient to take * actions with the wallet. */ authorization_key_ids: z.ZodOptional>; /** The minimum number of keys required to authorize actions on this wallet. * Leave unspecified to require all keys to sign a request for any action. */ authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>>; type WalletApiCreateInputType = z.infer; /** * @deprecated Use {@link WalletResponse} instead */ declare const WalletApiCreateResponse: z.ZodObject<{ /** Unique ID for the created wallet. */ id: z.ZodString; /** Chain type of the created wallet. */ chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; /** Address of the created wallet */ address: z.ZodString; /** The optional authorization threshold for the wallet. */ authorization_threshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; address: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; authorization_threshold?: number | undefined; }, { id: string; address: string; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; authorization_threshold?: number | undefined; }>; /** * @deprecated Use {@link WalletResponseType} instead */ type WalletApiCreateResponseType = z.infer; /** * Parses a JSON representation of a URL's path variables * for the `wallet_id` * * Throws an error if the `wallet_id` is not defined * or is not a valid, non-empty string. */ declare const WalletIdFromPath: z.ZodCatch>; type WalletIdFromPathType = z.infer; type WalletsResponseType = { data: Array; next_cursor: string | null; }; declare const EthereumAsset: z.ZodEnum<["usdc", "eth", "pol", "usdt"]>; declare const SolanaAsset: z.ZodEnum<["sol", "usdc"]>; declare const Asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; type AssetType = z.infer; declare const ChainNameInput: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; type ChainNameInputType = z.infer; declare const BalanceFiatCurrency: z.ZodEnum<["usd"]>; type BalanceFiatCurrency = z.infer; declare const WalletGetBalanceInput: z.ZodObject<{ asset: z.ZodUnion<[z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>, z.ZodArray, "many">]>; chain: z.ZodUnion<[z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>, z.ZodArray, "many">]>; include_currency: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet" | ("solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet")[]; asset: "eth" | "usdc" | "pol" | "usdt" | "sol" | ("eth" | "usdc" | "pol" | "usdt" | "sol")[]; include_currency?: "usd" | undefined; }, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet" | ("solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet")[]; asset: "eth" | "usdc" | "pol" | "usdt" | "sol" | ("eth" | "usdc" | "pol" | "usdt" | "sol")[]; include_currency?: "usd" | undefined; }>; type WalletGetBalanceInput = z.infer; declare const AssetAmountDetails: z.ZodObject<{ chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }>; declare const WalletGetBalanceResponse: z.ZodObject<{ balances: z.ZodArray; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }>, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }, { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }>, "many">; }, "strip", z.ZodTypeAny, { balances: { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }[]; }, { balances: { chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; }[]; }>; type WalletGetBalanceResponseType = z.infer; declare const WalletApiRevokeAuthorizationKeyInput: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; type WalletApiRevokeAuthorizationKeyInput = z.infer; declare const AuthorizationKeyDashboardResponse: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; public_key: z.ZodString; role: z.ZodNullable>; created_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; public_key: string; created_at: number; role: "root" | "manager" | "delegated-actions" | null; }, { id: string; display_name: string | null; public_key: string; created_at: number; role: "root" | "manager" | "delegated-actions" | null; }>; type AuthorizationKeyDashboardResponseType = z.infer; declare const AuthorizationKeyResponse: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; public_key: z.ZodString; created_at: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; public_key: string; created_at: number; }, { id: string; display_name: string | null; public_key: string; created_at: number; }>; type AuthorizationKeyResponseType = z.infer; declare const WalletsSearchInput: z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; } & { chain_type: z.ZodOptional, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>>; user_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { cursor?: string | undefined; limit?: number | undefined; user_id?: string | undefined; chain_type?: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark" | undefined; }, { cursor?: string | undefined; limit?: number | undefined; user_id?: string | undefined; chain_type?: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark" | undefined; }>; type WalletsSearchInputType = z.infer; declare const WalletUpdateInput: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; /** The key quorum ID to set as the owner of the wallet. */ owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; type WalletUpdateInputType = z.infer; declare const WalletGetTransactionsInput: z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; } & { chain: z.ZodLiteral<"base">; asset: z.ZodUnion<[z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>, z.ZodArray, "many">]>; tx_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain: "base"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol" | ("eth" | "usdc" | "pol" | "usdt" | "sol")[]; cursor?: string | undefined; limit?: number | undefined; tx_hash?: string | undefined; }, { chain: "base"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol" | ("eth" | "usdc" | "pol" | "usdt" | "sol")[]; cursor?: string | undefined; limit?: number | undefined; tx_hash?: string | undefined; }>; type WalletGetTransactionsInputType = z.infer; declare const TransferSentTransactionDetail: z.ZodObject<{ type: z.ZodLiteral<"transfer_sent">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>; declare const TransferReceivedTransactionDetail: z.ZodObject<{ type: z.ZodLiteral<"transfer_received">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>; declare const TransactionDetail: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"transfer_sent">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>, z.ZodObject<{ type: z.ZodLiteral<"transfer_received">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>]>; type TransactionDetailType = z.infer; declare const TransactionResponseWithDetails: z.ZodObject<{ caip2: z.ZodString; transaction_hash: z.ZodNullable; status: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; created_at: z.ZodNumber; sponsored: z.ZodOptional; } & { details: z.ZodNullable; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>, z.ZodObject<{ type: z.ZodLiteral<"transfer_received">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>]>>; }, "strip", z.ZodTypeAny, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; sponsored?: boolean | undefined; }, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; sponsored?: boolean | undefined; }>; declare const PrivyTransactionResponseWithDetails: z.ZodObject<{ caip2: z.ZodString; transaction_hash: z.ZodNullable; status: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; created_at: z.ZodNumber; sponsored: z.ZodOptional; } & { details: z.ZodNullable; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>, z.ZodObject<{ type: z.ZodLiteral<"transfer_received">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>]>>; } & { privy_transaction_id: z.ZodString; wallet_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }>; type PrivyTransactionResponseWithDetailsType = z.infer; declare const WalletGetTransactionsResponse: z.ZodObject<{ transactions: z.ZodArray; status: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; created_at: z.ZodNumber; sponsored: z.ZodOptional; } & { details: z.ZodNullable; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>, z.ZodObject<{ type: z.ZodLiteral<"transfer_received">; sender: z.ZodString; sender_privy_user_id: z.ZodNullable; recipient: z.ZodString; recipient_privy_user_id: z.ZodNullable; } & { chain: z.ZodEnum<["ethereum", "arbitrum", "base", "linea", "optimism", "polygon", "solana", "zksync_era", "sepolia", "arbitrum_sepolia", "base_sepolia", "linea_testnet", "optimism_sepolia", "polygon_amoy", "solana_devnet", "solana_testnet"]>; asset: z.ZodEnum<["usdc", "eth", "pol", "usdt", "sol", "usdc"]>; raw_value: z.ZodString; raw_value_decimals: z.ZodNumber; display_values: z.ZodRecord, z.ZodEnum<["usd"]>]>, z.ZodString>; }, "strip", z.ZodTypeAny, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }, { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; }>]>>; } & { privy_transaction_id: z.ZodString; wallet_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }>, "many">; next_cursor: z.ZodNullable; }, "strip", z.ZodTypeAny, { transactions: { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }[]; next_cursor: string | null; }, { transactions: { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; details: { type: "transfer_sent"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | { type: "transfer_received"; chain: "solana" | "ethereum" | "base" | "optimism" | "polygon" | "arbitrum" | "linea" | "zksync_era" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "linea_testnet" | "optimism_sepolia" | "polygon_amoy" | "solana_devnet" | "solana_testnet"; asset: "eth" | "usdc" | "pol" | "usdt" | "sol"; raw_value: string; raw_value_decimals: number; display_values: Partial>; sender: string; sender_privy_user_id: string | null; recipient: string; recipient_privy_user_id: string | null; } | null; privy_transaction_id: string; sponsored?: boolean | undefined; }[]; next_cursor: string | null; }>; type WalletGetTransactionsResponseType = z.infer; declare const CustodialWalletCreateInput: z.ZodObject<{ chain_type: z.ZodLiteral<"ethereum">; provider_user_id: z.ZodString; provider: z.ZodString; }, "strip", z.ZodTypeAny, { provider: string; chain_type: "ethereum"; provider_user_id: string; }, { provider: string; chain_type: "ethereum"; provider_user_id: string; }>; type CustodialWalletCreateInputType = z.infer; declare const KeyQuorumIdFromPath: z.ZodObject<{ key_quorum_id: z.ZodString; }, "strip", z.ZodTypeAny, { key_quorum_id: string; }, { key_quorum_id: string; }>; declare const CreateKeyQuorumInput: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; type CreateKeyQuorumInputType = z.infer; declare const KeyQuorumResponse: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; type KeyQuorumResponseType = z.infer; declare const UpdateKeyQuorumInput: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; type UpdateKeyQuorumInputType = z.infer; declare const HPKEEncryption: z.ZodLiteral<"HPKE">; declare const PrivateKeyExportInput: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; type PrivateKeyExportInputType = z.infer; declare const PrivateKeyExportResponse: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; ciphertext: z.ZodString; encapsulated_key: z.ZodString; }, "strip", z.ZodTypeAny, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }>; type PrivateKeyExportResponseType = z.infer; /** * Parses a JSON object for a valid user with recovery request. */ declare const WalletsWithRecoveryRequest: z.ZodObject<{ wallets: z.ZodArray, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "authorization_threshold" | "additional_signers" | "owner_id" | "authorization_key_ids" | "owner">, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; }>, "many">; primary_signer: z.ZodObject<{ subject_id: z.ZodString; }, "strict", z.ZodTypeAny, { subject_id: string; }, { subject_id: string; }>; recovery_user: z.ZodObject<{ linked_accounts: z.ZodEffects; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>]>, "many">, ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[], ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[]>; }, "strict", z.ZodTypeAny, { linked_accounts: ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[]; }, { linked_accounts: ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[]; }>; }, "strict", z.ZodTypeAny, { wallets: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; }[]; primary_signer: { subject_id: string; }; recovery_user: { linked_accounts: ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[]; }; }, { wallets: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; }[]; primary_signer: { subject_id: string; }; recovery_user: { linked_accounts: ({ type: "email"; address: string; } | { type: "custom_auth"; custom_user_id: string; })[]; }; }>; type WalletsWithRecoveryRequestType = z.infer; declare const WalletsWithRecoveryResponse: z.ZodObject<{ wallets: z.ZodArray; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>, "many">; recovery_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; recovery_user_id: string; }, { wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; recovery_user_id: string; }>; type WalletsWithRecoveryResponseType = z.infer; declare const UserSignersAuthenticateInput: z.ZodUnion<[z.ZodObject<{ /** The user's JWT, to be used to authenticate the user. */ user_jwt: z.ZodString; } & { /** The encryption type for the authentication response. Currently only supports HPKE. */ encryption_type: z.ZodLiteral<"HPKE">; /** Base64-encoded public key of the recipient who will decrypt the session key. */ recipient_public_key: z.ZodString; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; user_jwt: string; }, { encryption_type: "HPKE"; recipient_public_key: string; user_jwt: string; }>, z.ZodObject<{ /** The user's JWT, to be used to authenticate the user. */ user_jwt: z.ZodString; }, "strict", z.ZodTypeAny, { user_jwt: string; }, { user_jwt: string; }>]>; type UserSignersAuthenticateInputType = z.infer; declare const EncryptedUserSignersAuthenticateResponse: z.ZodObject<{ /** Expiration in milliseconds since epoch. */ expires_at: z.ZodNumber; /** The wallets that the signer has access to. */ wallets: z.ZodArray; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>, "many">; } & { encrypted_authorization_key: z.ZodObject<{ /** The encryption type used. Currently only supports HPKE. */ encryption_type: z.ZodLiteral<"HPKE">; /** Base64-encoded ephemeral public key used in the HPKE encryption process. */ encapsulated_key: z.ZodString; /** The encrypted authorization key corresponding to the user's current authentication session. */ ciphertext: z.ZodString; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }>; }, "strict", z.ZodTypeAny, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; encrypted_authorization_key: { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }; }, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; encrypted_authorization_key: { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }; }>; type EncryptedUserSignersAuthenticateResponseType = z.infer; declare const RawUserSignersAuthenticateResponse: z.ZodObject<{ /** Expiration in milliseconds since epoch. */ expires_at: z.ZodNumber; /** The wallets that the signer has access to. */ wallets: z.ZodArray; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>, "many">; } & { /** The raw authorization key corresponding to the user's current authentication session. */ authorization_key: z.ZodString; }, "strict", z.ZodTypeAny, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; authorization_key: string; }, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; authorization_key: string; }>; type RawUserSignersAuthenticateResponseType = z.infer; declare const UserSignersAuthenticateResponse: z.ZodUnion<[z.ZodObject<{ /** Expiration in milliseconds since epoch. */ expires_at: z.ZodNumber; /** The wallets that the signer has access to. */ wallets: z.ZodArray; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>, "many">; } & { encrypted_authorization_key: z.ZodObject<{ /** The encryption type used. Currently only supports HPKE. */ encryption_type: z.ZodLiteral<"HPKE">; /** Base64-encoded ephemeral public key used in the HPKE encryption process. */ encapsulated_key: z.ZodString; /** The encrypted authorization key corresponding to the user's current authentication session. */ ciphertext: z.ZodString; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }, { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }>; }, "strict", z.ZodTypeAny, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; encrypted_authorization_key: { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }; }, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; encrypted_authorization_key: { encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; }; }>, z.ZodObject<{ /** Expiration in milliseconds since epoch. */ expires_at: z.ZodNumber; /** The wallets that the signer has access to. */ wallets: z.ZodArray; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>, "many">; } & { /** The raw authorization key corresponding to the user's current authentication session. */ authorization_key: z.ZodString; }, "strict", z.ZodTypeAny, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; authorization_key: string; }, { expires_at: number; wallets: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }[]; authorization_key: string; }>]>; type UserSignersAuthenticateResponseType = z.infer; type DelegatedActionsConsentInputType = z.infer; declare const DelegatedActionsConsentInput: z.ZodObject<{ encrypted_tee_share: z.ZodString; app_share: z.ZodString; delegated_addresses: z.ZodArray, z.ZodLiteral<"ethereum">]>; address: z.ZodString; wallet_index: z.ZodDefault; }, "strip", z.ZodTypeAny, { address: string; chain_type: "solana" | "ethereum"; wallet_index: number; }, { address: string; chain_type: "solana" | "ethereum"; wallet_index?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { encrypted_tee_share: string; app_share: string; delegated_addresses: { address: string; chain_type: "solana" | "ethereum"; wallet_index: number; }[]; }, { encrypted_tee_share: string; app_share: string; delegated_addresses: { address: string; chain_type: "solana" | "ethereum"; wallet_index?: number | undefined; }[]; }>; /** @deprecated Use {@link DelegatedActionsConsentInputType} instead */ type DelegatedActionsConsentInput = z.infer; declare const WalletApiRevokeResponse: z.ZodObject<{ /** Success message */ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; type WalletApiRevokeResponseType = z.infer; declare const WalletImportSupportedChains: z.ZodEnum<["ethereum", "solana"]>; type WalletImportSupportedChains = z.infer; declare const WalletImportSupportedEntropyTypes: z.ZodEnum<["private-key", "hd"]>; type WalletImportSupportedEntropyTypes = z.infer; declare const WalletImportInitInput: z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; encryption_type: z.ZodLiteral<"HPKE">; } & { entropy_type: z.ZodLiteral<"private-key">; }, "strict", z.ZodTypeAny, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; }, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; }>, z.ZodObject<{ address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; encryption_type: z.ZodLiteral<"HPKE">; } & { entropy_type: z.ZodLiteral<"hd">; index: z.ZodNumber; }, "strict", z.ZodTypeAny, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }>]>, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }, { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }>; type WalletImportInitInputType = z.infer; declare const WalletImportInitResponse: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; encryption_public_key: z.ZodString; }, "strip", z.ZodTypeAny, { encryption_type: "HPKE"; encryption_public_key: string; }, { encryption_type: "HPKE"; encryption_public_key: string; }>; type WalletImportInitResponseType = z.infer; declare const WalletImportSubmitInput: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "chain_type" | "authorization_threshold" | "authorization_key_ids"> & { wallet: z.ZodDiscriminatedUnion<"entropy_type", [z.ZodObject<{ address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; encryption_type: z.ZodLiteral<"HPKE">; } & { entropy_type: z.ZodLiteral<"private-key">; } & { ciphertext: z.ZodString; encapsulated_key: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; }, { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; }>, z.ZodObject<{ address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; encryption_type: z.ZodLiteral<"HPKE">; } & { entropy_type: z.ZodLiteral<"hd">; index: z.ZodNumber; } & { ciphertext: z.ZodString; encapsulated_key: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }, { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }>]>; }, "strict", z.ZodTypeAny, { wallet: { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { wallet: { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { wallet: { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { wallet: { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "private-key"; } | { address: string; encryption_type: "HPKE"; ciphertext: string; encapsulated_key: string; chain_type: "solana" | "ethereum"; entropy_type: "hd"; index: number; }; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; type WalletImportSubmitInputType = z.infer; declare const IntentType: z.ZodEnum<["KEY_QUORUM", "POLICY", "RPC", "WALLET"]>; type IntentType = z.infer; declare const IntentStatus: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; type IntentStatus = z.infer; declare const createIntentUrlPattern: (resourceType: string, action?: string) => RegExp; declare const RpcIntentRequestDetails: z.ZodObject<{ method: z.ZodLiteral<"POST">; url: z.ZodString; body: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; params: z.ZodObject<{ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; params: z.ZodObject<{ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; params: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; method: z.ZodLiteral<"exportPrivateKey">; params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; }, "strict", z.ZodTypeAny, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }>; type RpcIntentRequestDetailsType = z.infer; declare const WalletIntentRequestDetails: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }>; type WalletIntentRequestDetailsType = z.infer; declare const KeyQuorumIntentRequestDetails: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }>; type KeyQuorumIntentRequestDetailsType = z.infer; declare const PolicyIntentRequestDetails: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }>; type PolicyIntentRequestDetailsType = z.infer; declare const IntentRequestDetails: z.ZodUnion<[z.ZodObject<{ method: z.ZodLiteral<"POST">; url: z.ZodString; body: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; params: z.ZodObject<{ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; params: z.ZodObject<{ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; params: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; method: z.ZodLiteral<"exportPrivateKey">; params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; }, "strict", z.ZodTypeAny, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }>]>; type IntentRequestDetailsType = z.infer; declare const IntentAuthorizationMember: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"user">; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>; type IntentAuthorizationMemberType = z.infer; declare const IntentAuthorization: z.ZodObject<{ /** Members in this authorization quorum. */ members: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>; type IntentAuthorizationType = z.infer; declare const KeyQuorumIntentResponse: z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"KEY_QUORUM">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }>; /** Current state of the key quorum before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the key quorum update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; /** State of the key quorum immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>; type KeyQuorumIntentResponseType = z.infer; declare const PolicyIntentResponse: z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"POLICY">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }>; /** Current state of the policy before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the policy update endpoint. */ response_body: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; /** State of the policy immediately before execution. */ prior_state: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>; type PolicyIntentResponseType = z.infer; declare const RpcIntentResponse: z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { intent_type: z.ZodLiteral<"RPC">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"POST">; url: z.ZodString; body: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; params: z.ZodObject<{ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; params: z.ZodObject<{ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; params: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; method: z.ZodLiteral<"exportPrivateKey">; params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; }, "strict", z.ZodTypeAny, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the RPC endpoint. */ response_body: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { encoding: "base64"; signed_transaction: string; }, { encoding: "base64"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; }>; }, "strip", z.ZodTypeAny, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "base64"; }, { signature: string; encoding: "base64"; }>; }, "strip", z.ZodTypeAny, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"rlp">; }, "strip", z.ZodTypeAny, { encoding: "rlp"; signed_transaction: string; }, { encoding: "rlp"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; transaction_request: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>>; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; data: z.ZodObject<{ signature: z.ZodEffects; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; data: z.ZodObject<{ authorization: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; r: z.ZodEffects; s: z.ZodEffects; y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; }, "strip", z.ZodTypeAny, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }>; }, "strip", z.ZodTypeAny, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"exportPrivateKey">; data: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strip", z.ZodTypeAny, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"transfer">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>>; }, "strip", z.ZodTypeAny, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "transferTokens"; data?: { id: string; } | undefined; }, { method: "transferTokens"; data?: { id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>, z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; network: z.ZodString; encoded_invoice: z.ZodString; fee: z.ZodObject<{ original_value: z.ZodNumber; original_unit: z.ZodString; preferred_currency_unit: z.ZodString; preferred_currency_value_rounded: z.ZodNumber; preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; idempotency_key: z.ZodString; status: z.ZodString; typename: z.ZodString; transfer: z.ZodOptional; payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; data: z.ZodOptional; payment_preimage: z.ZodOptional; receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }>]>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>; type RpcIntentResponseType = z.infer; declare const WalletIntentResponse: z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"WALLET">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the wallet update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; /** State of the wallet immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>; type WalletIntentResponseType = z.infer; declare const IntentResponse: z.ZodDiscriminatedUnion<"intent_type", [z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"KEY_QUORUM">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }>; /** Current state of the key quorum before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the key quorum update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; /** State of the key quorum immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"POLICY">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }>; /** Current state of the policy before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the policy update endpoint. */ response_body: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; /** State of the policy immediately before execution. */ prior_state: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { intent_type: z.ZodLiteral<"RPC">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"POST">; url: z.ZodString; body: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; params: z.ZodObject<{ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; params: z.ZodObject<{ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; params: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; method: z.ZodLiteral<"exportPrivateKey">; params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; }, "strict", z.ZodTypeAny, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the RPC endpoint. */ response_body: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { encoding: "base64"; signed_transaction: string; }, { encoding: "base64"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; }>; }, "strip", z.ZodTypeAny, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "base64"; }, { signature: string; encoding: "base64"; }>; }, "strip", z.ZodTypeAny, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"rlp">; }, "strip", z.ZodTypeAny, { encoding: "rlp"; signed_transaction: string; }, { encoding: "rlp"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; transaction_request: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>>; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; data: z.ZodObject<{ signature: z.ZodEffects; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; data: z.ZodObject<{ authorization: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; r: z.ZodEffects; s: z.ZodEffects; y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; }, "strip", z.ZodTypeAny, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }>; }, "strip", z.ZodTypeAny, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"exportPrivateKey">; data: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strip", z.ZodTypeAny, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"transfer">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>>; }, "strip", z.ZodTypeAny, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "transferTokens"; data?: { id: string; } | undefined; }, { method: "transferTokens"; data?: { id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>, z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; network: z.ZodString; encoded_invoice: z.ZodString; fee: z.ZodObject<{ original_value: z.ZodNumber; original_unit: z.ZodString; preferred_currency_unit: z.ZodString; preferred_currency_value_rounded: z.ZodNumber; preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; idempotency_key: z.ZodString; status: z.ZodString; typename: z.ZodString; transfer: z.ZodOptional; payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; data: z.ZodOptional; payment_preimage: z.ZodOptional; receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }>]>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"WALLET">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the wallet update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; /** State of the wallet immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>]>; type IntentResponseType = z.infer; declare const IntentIdFromPath: z.ZodObject<{ intent_id: z.ZodString; }, "strip", z.ZodTypeAny, { intent_id: string; }, { intent_id: string; }>; type IntentIdFromPathType = z.infer; declare const IntentListInput: z.ZodObject<{ cursor: z.ZodOptional>; limit: z.ZodOptional; } & { /** Filter by intent status. */ status: z.ZodOptional>; /** Filter by resource type. */ intent_type: z.ZodOptional>; /** Filter by creator user ID. */ created_by_id: z.ZodOptional; /** Filter by user ID (for intents still pending approval from a specific user). */ pending_member_id: z.ZodOptional; /** Filter by resource ID. */ resource_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: "pending" | "failed" | "executed" | "expired" | "rejected" | undefined; cursor?: string | undefined; limit?: number | undefined; created_by_id?: string | undefined; resource_id?: string | undefined; intent_type?: "KEY_QUORUM" | "POLICY" | "RPC" | "WALLET" | undefined; pending_member_id?: string | undefined; }, { status?: "pending" | "failed" | "executed" | "expired" | "rejected" | undefined; cursor?: string | undefined; limit?: number | undefined; created_by_id?: string | undefined; resource_id?: string | undefined; intent_type?: "KEY_QUORUM" | "POLICY" | "RPC" | "WALLET" | undefined; pending_member_id?: string | undefined; }>; type IntentListInputType = z.infer; declare const IntentListResponse: z.ZodObject<{ /** Array of intents. */ data: z.ZodArray; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"KEY_QUORUM">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects>; authorization_threshold: z.ZodOptional; display_name: z.ZodOptional; user_ids: z.ZodOptional>; }, "strict", z.ZodTypeAny, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }, { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }, { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }>; /** Current state of the key quorum before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the key quorum update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; /** State of the key quorum immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; display_name: z.ZodNullable; authorization_threshold: z.ZodNullable; authorization_keys: z.ZodArray; }, "strip", z.ZodTypeAny, { display_name: string | null; public_key: string; }, { display_name: string | null; public_key: string; }>, "many">; user_ids: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }, { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"POLICY">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; name: z.ZodOptional; rules: z.ZodOptional, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">>; }, "strict", z.ZodTypeAny, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }, { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }, { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }>; /** Current state of the policy before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the policy update endpoint. */ response_body: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; /** State of the policy immediately before execution. */ prior_state: z.ZodObject<{ name: z.ZodString; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; version: z.ZodLiteral<"1.0">; } & { id: z.ZodString; created_at: z.ZodNumber; owner_id: z.ZodNullable; rules: z.ZodArray, z.ZodLiteral<"eth_signTransaction">, z.ZodLiteral<"eth_signTypedData_v4">, z.ZodLiteral<"eth_sign7702Authorization">, z.ZodLiteral<"signTransaction">, z.ZodLiteral<"signAndSendTransaction">, z.ZodLiteral<"exportPrivateKey">, z.ZodLiteral<"*">]>; conditions: z.ZodArray; field: z.ZodUnion<[z.ZodLiteral<"to">, z.ZodLiteral<"value">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_calldata">; field: z.ZodString; abi: z.ZodType; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_domain">; field: z.ZodUnion<[z.ZodLiteral<"chainId">, z.ZodLiteral<"verifyingContract">, z.ZodLiteral<"chain_id">, z.ZodLiteral<"verifying_contract">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_typed_data_message">; field: z.ZodString; typed_data: z.ZodObject<{ types: z.ZodRecord, "many">>; primary_type: z.ZodString; }, "strip", z.ZodTypeAny, { types: Record; primary_type: string; }, { types: Record; primary_type: string; }>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }, { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; }>, z.ZodObject<{ field_source: z.ZodLiteral<"ethereum_7702_authorization">; field: z.ZodLiteral<"contract">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_program_instruction">; field: z.ZodLiteral<"programId">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_system_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.from">, z.ZodLiteral<"Transfer.to">, z.ZodLiteral<"Transfer.lamports">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"solana_token_program_instruction">; field: z.ZodUnion<[z.ZodLiteral<"instructionName">, z.ZodLiteral<"Transfer.source">, z.ZodLiteral<"Transfer.destination">, z.ZodLiteral<"Transfer.authority">, z.ZodLiteral<"Transfer.amount">, z.ZodLiteral<"TransferChecked.source">, z.ZodLiteral<"TransferChecked.destination">, z.ZodLiteral<"TransferChecked.authority">, z.ZodLiteral<"TransferChecked.amount">, z.ZodLiteral<"TransferChecked.mint">, z.ZodLiteral<"Burn.account">, z.ZodLiteral<"Burn.mint">, z.ZodLiteral<"Burn.authority">, z.ZodLiteral<"Burn.amount">, z.ZodLiteral<"MintTo.mint">, z.ZodLiteral<"MintTo.account">, z.ZodLiteral<"MintTo.authority">, z.ZodLiteral<"MintTo.amount">, z.ZodLiteral<"CloseAccount.account">, z.ZodLiteral<"CloseAccount.destination">, z.ZodLiteral<"CloseAccount.authority">, z.ZodLiteral<"InitializeAccount3.account">, z.ZodLiteral<"InitializeAccount3.mint">, z.ZodLiteral<"InitializeAccount3.owner">]>; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; }>, z.ZodObject<{ field_source: z.ZodLiteral<"system">; field: z.ZodLiteral<"current_unix_timestamp">; } & { operator: z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">, z.ZodLiteral<"in">, z.ZodLiteral<"in_condition_set">]>; value: z.ZodUnion<[z.ZodString, z.ZodArray]>; }, "strip", z.ZodTypeAny, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }, { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; }>]>, "many">; action: z.ZodEnum<["ALLOW", "DENY"]>; } & { id: z.ZodString; }, "strict", z.ZodTypeAny, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }, { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }>, "many">; }, "strict", z.ZodTypeAny, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }, { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { intent_type: z.ZodLiteral<"RPC">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"POST">; url: z.ZodString; body: z.ZodUnion<[z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodObject<{ from: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>; }, "strict", z.ZodTypeAny, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }, { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodUnion<[z.ZodLiteral<"utf-8">, z.ZodLiteral<"hex">]>; }, "strict", z.ZodTypeAny, { message: string; encoding: "utf-8" | "hex"; }, { message: string; encoding: "utf-8" | "hex"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; params: z.ZodObject<{ typed_data: z.ZodObject<{ domain: z.ZodRecord; types: z.ZodRecord, "many">>; message: z.ZodRecord; primary_type: z.ZodString; }, "strict", z.ZodTypeAny, { message: Record; domain: Record; types: Record; primary_type: string; }, { message: Record; domain: Record; types: Record; primary_type: string; }>; }, "strict", z.ZodTypeAny, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }, { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; params: z.ZodObject<{ hash: z.ZodEffects, `0x${string}`, string>; }, "strict", z.ZodTypeAny, { hash: `0x${string}`; }, { hash: string; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; params: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }, { chain_id: string | number; contract: string; nonce?: string | number | undefined; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }, { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; }>]>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; caip2: z.ZodString; params: z.ZodObject<{ transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { transaction: string; encoding: "base64"; }, { transaction: string; encoding: "base64"; }>; sponsor: z.ZodOptional; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }, { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; params: z.ZodObject<{ message: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strict", z.ZodTypeAny, { message: string; encoding: "base64"; }, { message: string; encoding: "base64"; }>; } & { address: z.ZodOptional>; chain_type: z.ZodOptional>; wallet_id: z.ZodOptional; }, "strict", z.ZodTypeAny, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }, { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; }>]>, z.ZodObject<{ address: z.ZodString; method: z.ZodLiteral<"exportPrivateKey">; params: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strict", z.ZodTypeAny, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }, { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"transfer">; params: z.ZodObject<{ receiver_spark_address: z.ZodString; amount_sats: z.ZodNumber; }, "strict", z.ZodTypeAny, { receiver_spark_address: string; amount_sats: number; }, { receiver_spark_address: string; amount_sats: number; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; params: z.ZodObject<{ token_identifier: z.ZodString; token_amount: z.ZodNumber; receiver_spark_address: z.ZodString; output_selection_strategy: z.ZodOptional>; selected_outputs: z.ZodOptional; owner_public_key: z.ZodString; revocation_commitment: z.ZodOptional; withdraw_bond_sats: z.ZodOptional; withdraw_relative_block_locktime: z.ZodOptional; token_public_key: z.ZodOptional; token_identifier: z.ZodOptional; token_amount: z.ZodString; }, "strip", z.ZodTypeAny, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }, { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; }>>; previous_transaction_hash: z.ZodString; previous_transaction_vout: z.ZodNumber; }, "strip", z.ZodTypeAny, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }, { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }, { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }, { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; }, "strict", z.ZodTypeAny, { transaction_id: string; output_index?: number | undefined; }, { transaction_id: string; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; params: z.ZodObject<{ transaction_id: z.ZodString; output_index: z.ZodOptional; credit_amount_sats: z.ZodNumber; signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }, { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; params: z.ZodObject<{ amount_sats: z.ZodNumber; memo: z.ZodOptional; expiry_seconds: z.ZodOptional; include_spark_address: z.ZodOptional; receiver_identity_pubkey: z.ZodOptional; description_hash: z.ZodOptional; }, "strict", z.ZodTypeAny, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }, { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; params: z.ZodObject<{ invoice: z.ZodString; max_fee_sats: z.ZodNumber; prefer_spark: z.ZodOptional; amount_sats_to_send: z.ZodOptional; }, "strict", z.ZodTypeAny, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }, { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; params: z.ZodObject<{ message: z.ZodString; compact: z.ZodOptional; }, "strict", z.ZodTypeAny, { message: string; compact?: boolean | undefined; }, { message: string; compact?: boolean | undefined; }>; } & { network: z.ZodOptional>; }, "strict", z.ZodTypeAny, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }, { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; }>]>]>; }, "strict", z.ZodTypeAny, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }, { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the RPC endpoint. */ response_body: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { encoding: "base64"; signed_transaction: string; }, { encoding: "base64"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }, { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signAndSendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; }>; }, "strip", z.ZodTypeAny, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }, { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessage">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"base64">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "base64"; }, { signature: string; encoding: "base64"; }>; }, "strip", z.ZodTypeAny, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }, { method: "signMessage"; data: { signature: string; encoding: "base64"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTransaction">; data: z.ZodObject<{ signed_transaction: z.ZodString; encoding: z.ZodLiteral<"rlp">; }, "strip", z.ZodTypeAny, { encoding: "rlp"; signed_transaction: string; }, { encoding: "rlp"; signed_transaction: string; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }, { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sendTransaction">; data: z.ZodObject<{ transaction_id: z.ZodOptional; hash: z.ZodString; caip2: z.ZodString; transaction_request: z.ZodOptional>; to: z.ZodOptional>; chain_id: z.ZodOptional, z.ZodNumber]>>; nonce: z.ZodOptional, z.ZodNumber]>>; data: z.ZodOptional>; value: z.ZodOptional, z.ZodNumber]>>; type: z.ZodOptional, z.ZodLiteral<1>, z.ZodLiteral<2>]>>; gas_limit: z.ZodOptional, z.ZodNumber]>>; gas_price: z.ZodOptional, z.ZodNumber]>>; max_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; max_priority_fee_per_gas: z.ZodOptional, z.ZodNumber]>>; }, "strict", z.ZodTypeAny, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }, { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }>>; }, "strip", z.ZodTypeAny, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }, { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }, { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; }>, z.ZodObject<{ method: z.ZodLiteral<"personal_sign">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"secp256k1_sign">; data: z.ZodObject<{ signature: z.ZodEffects; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }, { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_sign7702Authorization">; data: z.ZodObject<{ authorization: z.ZodObject<{ contract: z.ZodEffects; chain_id: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; nonce: z.ZodUnion<[z.ZodEffects, z.ZodNumber]>; r: z.ZodEffects; s: z.ZodEffects; y_parity: z.ZodNumber; }, "strip", z.ZodTypeAny, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }, { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }>; }, "strip", z.ZodTypeAny, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }, { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }>; }, "strip", z.ZodTypeAny, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }, { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; }>, z.ZodObject<{ method: z.ZodLiteral<"eth_signTypedData_v4">; data: z.ZodObject<{ signature: z.ZodString; encoding: z.ZodLiteral<"hex">; }, "strip", z.ZodTypeAny, { signature: string; encoding: "hex"; }, { signature: string; encoding: "hex"; }>; }, "strip", z.ZodTypeAny, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }, { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; }>, z.ZodObject<{ method: z.ZodLiteral<"exportPrivateKey">; data: z.ZodObject<{ encryption_type: z.ZodLiteral<"HPKE">; recipient_public_key: z.ZodUnion<[z.ZodEffects, z.ZodString]>; }, "strict", z.ZodTypeAny, { encryption_type: "HPKE"; recipient_public_key: string; }, { encryption_type: "HPKE"; recipient_public_key: string; }>; }, "strip", z.ZodTypeAny, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }, { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }>, z.ZodObject<{ method: z.ZodLiteral<"transfer">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }, { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getBalance">; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }, { balance: string; token_metadata: { raw_token_identifier: string; token_public_key: string; token_name: string; token_ticker: string; decimals: number; max_supply: string; }; }>>; }, "strip", z.ZodTypeAny, { balance: string; token_balances: Record; }, { balance: string; token_balances: Record; }>>; }, "strip", z.ZodTypeAny, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }, { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"transferTokens">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "transferTokens"; data?: { id: string; } | undefined; }, { method: "transferTokens"; data?: { id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getStaticDepositAddress">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }, { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"claimStaticDeposit">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }, { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"getClaimStaticDepositQuote">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }, { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"payLightningInvoice">; data: z.ZodOptional; leaves: z.ZodArray; node_tx: z.ZodString; refund_tx: z.ZodString; vout: z.ZodNumber; verifying_public_key: z.ZodString; owner_identity_public_key: z.ZodString; signing_keyshare: z.ZodOptional; threshold: z.ZodNumber; public_key: z.ZodString; public_shares: z.ZodRecord; updated_time: z.ZodDate; }, "strip", z.ZodTypeAny, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }, { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; }>>; status: z.ZodString; network: z.ZodEnum<["MAINNET", "REGTEST"]>; }, "strip", z.ZodTypeAny, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }, { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; }>>; secret_cipher: z.ZodString; signature: z.ZodString; intermediate_refund_tx: z.ZodString; }, "strip", z.ZodTypeAny, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }, { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }>, "many">; created_time: z.ZodOptional; updated_time: z.ZodOptional; type: z.ZodString; transfer_direction: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }, { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; }>, z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; network: z.ZodString; encoded_invoice: z.ZodString; fee: z.ZodObject<{ original_value: z.ZodNumber; original_unit: z.ZodString; preferred_currency_unit: z.ZodString; preferred_currency_value_rounded: z.ZodNumber; preferred_currency_value_approx: z.ZodNumber; }, "strip", z.ZodTypeAny, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }, { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }>; idempotency_key: z.ZodString; status: z.ZodString; typename: z.ZodString; transfer: z.ZodOptional; payment_preimage: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"createLightningInvoice">; data: z.ZodOptional; payment_preimage: z.ZodOptional; receiver_identity_public_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }, { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }, { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; }>, z.ZodObject<{ method: z.ZodLiteral<"signMessageWithIdentityKey">; data: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }, { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; }>]>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>, z.ZodObject<{ /** Unique ID for the intent. */ intent_id: z.ZodString; /** Display name of the user who created the intent. */ created_by_display_name: z.ZodString; /** ID of the user who created the intent. If undefined, the intent was created using the app secret */ created_by_id: z.ZodOptional; /** Unix timestamp when the intent was created. */ created_at: z.ZodNumber; /** ID of the resource being modified (wallet_id, policy_id, etc). */ resource_id: z.ZodString; /** Detailed authorization information including key quorum members, thresholds, and signature status. */ authorization_details: z.ZodArray; /** User ID of the key quorum member. */ user_id: z.ZodString; /** Display name for the user (email, etc). */ display_name: z.ZodOptional; /** Whether this member has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }, { type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"key">; /** Public key of the key quorum member. */ public_key: z.ZodString; /** Display name for the key (if any). */ display_name: z.ZodOptional; /** Whether this key has signed the intent. */ has_signed: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }, { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; }>]>, "many">; /** Number of signatures required from this quorum. */ threshold: z.ZodNumber; /** Display name of the key quorum. */ display_name: z.ZodOptional; }, "strict", z.ZodTypeAny, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }, { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }>, "many">; /** Current status of the intent. */ status: z.ZodEnum<["pending", "executed", "failed", "expired", "rejected"]>; /** Unix timestamp when the intent expires. */ expires_at: z.ZodNumber; } & { /** Type of resource being modified (what resource it modifies). */ intent_type: z.ZodLiteral<"WALLET">; /** The original request that would be sent to the target endpoint. */ request_details: z.ZodObject<{ method: z.ZodLiteral<"PATCH">; url: z.ZodString; body: z.ZodEffects, z.ZodObject<{ public_key: z.ZodString; }, "strict", z.ZodTypeAny, { public_key: string; }, { public_key: string; }>, z.ZodNull]>>; owner_id: z.ZodOptional>; policy_ids: z.ZodOptional>; authorization_key_ids: z.ZodOptional>; authorization_threshold: z.ZodOptional; additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }, { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }, { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }>; /** Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists. */ current_resource_data: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>>; /** Result of action execution (only present if status is 'executed' or 'failed'). */ action_result: z.ZodOptional; /** ID of the key quorum that authorized execution. */ authorized_by_id: z.ZodOptional; } & { /** Response body from the wallet update endpoint. */ response_body: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; /** State of the wallet immediately before execution. */ prior_state: z.ZodObject<{ id: z.ZodString; address: z.ZodString; public_key: z.ZodOptional; created_at: z.ZodNumber; exported_at: z.ZodNullable; imported_at: z.ZodNullable; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; policy_ids: z.ZodArray; authorization_threshold: z.ZodOptional; additional_signers: z.ZodArray>; }, "strip", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">; owner_id: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }, { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }>; }, "strict", z.ZodTypeAny, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }, { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }, { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; }>]>, "many">; /** Cursor for the next page of results. */ next_cursor: z.ZodNullable; }, "strict", z.ZodTypeAny, { data: ({ status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: `0x${string}`; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; })[]; next_cursor: string | null; }, { data: ({ status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "KEY_QUORUM"; request_details: { method: "PATCH"; url: string; body: { display_name?: string | undefined; authorization_threshold?: number | undefined; public_keys?: string[] | undefined; user_ids?: string[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; prior_state: { id: string; display_name: string | null; authorization_threshold: number | null; user_ids: string[] | null; authorization_keys: { display_name: string | null; public_key: string; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "POLICY"; request_details: { method: "PATCH"; url: string; body: { name?: string | undefined; owner_id?: string | null | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; rules?: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[] | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; prior_state: { id: string; name: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; owner_id: string | null; version: "1.0"; rules: { method: "signTransaction" | "signAndSendTransaction" | "eth_signTransaction" | "eth_sendTransaction" | "eth_sign7702Authorization" | "eth_signTypedData_v4" | "exportPrivateKey" | "*"; id: string; name: string; conditions: ({ value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_transaction"; field: "value" | "to"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_calldata"; field: string; abi: string | number | boolean | { [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_domain"; field: "chain_id" | "chainId" | "verifyingContract" | "verifying_contract"; } | { value: string | string[]; typed_data: { types: Record; primary_type: string; }; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_typed_data_message"; field: string; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "ethereum_7702_authorization"; field: "contract"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_program_instruction"; field: "programId"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_system_program_instruction"; field: "instructionName" | "Transfer.from" | "Transfer.to" | "Transfer.lamports"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "solana_token_program_instruction"; field: "instructionName" | "Transfer.source" | "Transfer.destination" | "Transfer.authority" | "Transfer.amount" | "TransferChecked.source" | "TransferChecked.destination" | "TransferChecked.authority" | "TransferChecked.amount" | "TransferChecked.mint" | "Burn.account" | "Burn.mint" | "Burn.authority" | "Burn.amount" | "MintTo.mint" | "MintTo.account" | "MintTo.authority" | "MintTo.amount" | "CloseAccount.account" | "CloseAccount.destination" | "CloseAccount.authority" | "InitializeAccount3.account" | "InitializeAccount3.mint" | "InitializeAccount3.owner"; } | { value: string | string[]; operator: "eq" | "gt" | "gte" | "lt" | "lte" | "in" | "in_condition_set"; field_source: "system"; field: "current_unix_timestamp"; })[]; action: "ALLOW" | "DENY"; }[]; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "RPC"; request_details: { method: "POST"; url: string; body: { params: { receiver_spark_address: string; amount_sats: number; }; method: "transfer"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getBalance"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { token_identifier: string; token_amount: number; receiver_spark_address: string; output_selection_strategy?: "SMALL_FIRST" | "LARGE_FIRST" | undefined; selected_outputs?: { previous_transaction_hash: string; previous_transaction_vout: number; output?: { owner_public_key: string; token_amount: string; id?: string | undefined; token_public_key?: string | undefined; revocation_commitment?: string | undefined; withdraw_bond_sats?: number | undefined; withdraw_relative_block_locktime?: number | undefined; token_identifier?: string | undefined; } | undefined; }[] | undefined; }; method: "transferTokens"; network?: "MAINNET" | "REGTEST" | undefined; } | { method: "getStaticDepositAddress"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction_id: string; output_index?: number | undefined; }; method: "getClaimStaticDepositQuote"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { signature: string; transaction_id: string; credit_amount_sats: number; output_index?: number | undefined; }; method: "claimStaticDeposit"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { amount_sats: number; memo?: string | undefined; expiry_seconds?: number | undefined; include_spark_address?: boolean | undefined; receiver_identity_pubkey?: string | undefined; description_hash?: string | undefined; }; method: "createLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { invoice: string; max_fee_sats: number; prefer_spark?: boolean | undefined; amount_sats_to_send?: number | undefined; }; method: "payLightningInvoice"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { message: string; compact?: boolean | undefined; }; method: "signMessageWithIdentityKey"; network?: "MAINNET" | "REGTEST" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: string; encoding: "base64"; }; method: "signAndSendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "base64"; }; method: "signMessage"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "solana" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_signTransaction"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { transaction: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; }; }; method: "eth_sendTransaction"; caip2: string; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; sponsor?: boolean | undefined; } | { params: { message: string; encoding: "utf-8" | "hex"; }; method: "personal_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { hash: string; }; method: "secp256k1_sign"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { chain_id: string | number; contract: string; nonce?: string | number | undefined; }; method: "eth_sign7702Authorization"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { typed_data: { message: Record; domain: Record; types: Record; primary_type: string; }; }; method: "eth_signTypedData_v4"; address?: string | undefined; wallet_id?: string | undefined; chain_type?: "ethereum" | undefined; } | { params: { encryption_type: "HPKE"; recipient_public_key: string; }; method: "exportPrivateKey"; address: string; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { method: "transfer"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | undefined; } | { method: "getBalance"; data?: { balance: string; token_balances: Record; } | undefined; } | { method: "transferTokens"; data?: { id: string; } | undefined; } | { method: "getStaticDepositAddress"; data?: { address: string; } | undefined; } | { method: "getClaimStaticDepositQuote"; data?: { signature: string; transaction_id: string; network: string; output_index: number; credit_amount_sats: number; } | undefined; } | { method: "claimStaticDeposit"; data?: { transfer_id: string; } | undefined; } | { method: "createLightningInvoice"; data?: { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; receiver_identity_public_key?: string | undefined; invoice?: any; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "payLightningInvoice"; data?: { type: string; status: string; id: string; sender_identity_public_key: string; receiver_identity_public_key: string; total_value: number; leaves: { signature: string; secret_cipher: string; intermediate_refund_tx: string; leaf?: { value: number; status: string; id: string; tree_id: string; node_tx: string; refund_tx: string; vout: number; verifying_public_key: string; owner_identity_public_key: string; network: "MAINNET" | "REGTEST"; parent_node_id?: string | undefined; signing_keyshare?: { public_key: string; owner_identifiers: string[]; threshold: number; public_shares: Record; updated_time: Date; } | undefined; } | undefined; }[]; transfer_direction: string; updated_time?: Date | undefined; expiry_time?: Date | undefined; created_time?: Date | undefined; } | { status: string; id: string; created_at: string; network: string; updated_at: string; typename: string; encoded_invoice: string; fee: { original_value: number; original_unit: string; preferred_currency_unit: string; preferred_currency_value_rounded: number; preferred_currency_value_approx: number; }; idempotency_key: string; transfer?: any; payment_preimage?: string | undefined; } | undefined; } | { method: "signMessageWithIdentityKey"; data?: { signature: string; } | undefined; } | { method: "signTransaction"; data: { encoding: "base64"; signed_transaction: string; }; } | { method: "signAndSendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; }; } | { method: "signMessage"; data: { signature: string; encoding: "base64"; }; } | { method: "eth_signTransaction"; data: { encoding: "rlp"; signed_transaction: string; }; } | { method: "eth_sendTransaction"; data: { caip2: string; hash: string; transaction_id?: string | undefined; transaction_request?: { type?: 0 | 1 | 2 | undefined; value?: string | number | undefined; nonce?: string | number | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; chain_id?: string | number | undefined; gas_limit?: string | number | undefined; gas_price?: string | number | undefined; max_fee_per_gas?: string | number | undefined; max_priority_fee_per_gas?: string | number | undefined; } | undefined; }; } | { method: "personal_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "secp256k1_sign"; data: { signature: string; encoding: "hex"; }; } | { method: "eth_sign7702Authorization"; data: { authorization: { nonce: string | number; chain_id: string | number; contract: string; r: string; s: string; y_parity: number; }; }; } | { method: "eth_signTypedData_v4"; data: { signature: string; encoding: "hex"; }; } | { method: "exportPrivateKey"; data: { encryption_type: "HPKE"; recipient_public_key: string; }; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; } | { status: "pending" | "failed" | "executed" | "expired" | "rejected"; expires_at: number; created_at: number; intent_id: string; created_by_display_name: string; resource_id: string; authorization_details: { threshold: number; members: ({ type: "user"; user_id: string; has_signed: boolean; display_name?: string | undefined; } | { type: "key"; public_key: string; has_signed: boolean; display_name?: string | undefined; })[]; display_name?: string | undefined; }[]; intent_type: "WALLET"; request_details: { method: "PATCH"; url: string; body: { policy_ids?: string[] | undefined; authorization_threshold?: number | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; owner_id?: string | null | undefined; authorization_key_ids?: string[] | undefined; owner?: { user_id: string; } | { public_key: string; } | null | undefined; }; }; created_by_id?: string | undefined; current_resource_data?: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; } | undefined; action_result?: { status_code: number; executed_at: number; response_body: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; prior_state: { id: string; address: string; created_at: number; chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; exported_at: number | null; imported_at: number | null; policy_ids: string[]; additional_signers: { signer_id: string; override_policy_ids?: string[] | undefined; }[]; owner_id: string | null; public_key?: string | undefined; authorization_threshold?: number | undefined; }; authorized_by_display_name?: string | undefined; authorized_by_id?: string | undefined; } | undefined; })[]; next_cursor: string | null; }>; type IntentListResponseType = z.infer; declare const IntentAuthorizationInput: z.ZodObject<{ /** Signature authorizing the intent. */ signature: z.ZodString; /** Timestamp when the signature was created. */ timestamp: z.ZodNumber; }, "strict", z.ZodTypeAny, { signature: string; timestamp: number; }, { signature: string; timestamp: number; }>; type IntentAuthorizationInputType = z.infer; declare const IntentAuthorizeInput: z.ZodObject<{ /** Signature authorizing the intent. */ signature: z.ZodString; }, "strict", z.ZodTypeAny, { signature: string; }, { signature: string; }>; type IntentAuthorizeInputType = z.infer; /** Privy uses Blockaid to execute transaction scans, these types correspond with https://docs.blockaid.io/reference/scan-json-rpc */ declare const TransactionScanningInput: z.ZodObject<{ /** The integer chain id to send the transaction on. */ chain_id: z.ZodString; /** Additional information for Blockaid to validate against. */ metadata: z.ZodObject<{ domain: z.ZodString; }, "strip", z.ZodTypeAny, { domain: string; }, { domain: string; }>; /** Raw RPC request */ request: z.ZodObject<{ /** RPC method to execute with the wallet. */ method: z.ZodString; /** Parameters for the RPC method. */ params: z.ZodArray; }, "strip", z.ZodTypeAny, { params: any[]; method: string; }, { params: any[]; method: string; }>; }, "strip", z.ZodTypeAny, { chain_id: string; metadata: { domain: string; }; request: { params: any[]; method: string; }; }, { chain_id: string; metadata: { domain: string; }; request: { params: any[]; method: string; }; }>; type PrivyTransactionScanningInputType = z.infer; declare const ValidationResult: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"Error">; error: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Error"; error: string; }, { status: "Error"; error: string; }>, z.ZodObject<{ status: z.ZodLiteral<"Success">; result_type: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Success"; result_type: string; }, { status: "Success"; result_type: string; }>]>; type PrivyTransactionScanningResponseValidationResult = z.infer; /** Information about the moving asset, on both exposures and asset diffs*/ declare const AssetInfo: z.ZodObject<{ type: z.ZodOptional; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; type PrivyTransactionScanningResponseAssetInfoType = z.infer; /** Information about the amount of asset moving, on both exposure and asset diffs */ declare const TransactionScanningResponseAssetValue: z.ZodObject<{ value: z.ZodOptional; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>; type TransactionScanningResponseAssetValueType = z.infer; declare const TransactionScanningResponseAssetDiff: z.ZodObject<{ asset: z.ZodObject<{ type: z.ZodOptional; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; in: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; out: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }>; type PrivyTransactionScanningResponseAssetDiffType = z.infer; declare const Exposure: z.ZodObject<{ /** What the spender is authorized to spend */ asset: z.ZodObject<{ type: z.ZodOptional; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; spenders: z.ZodRecord; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }>; type PrivyTransactionScanningResponseExposureType = z.infer; declare const TransactionScanningResponseParams: z.ZodObject<{ from: z.ZodOptional; to: z.ZodOptional; value: z.ZodOptional; data: z.ZodOptional; gas: z.ZodOptional; gas_price: z.ZodOptional; block_tag: z.ZodOptional; chain: z.ZodOptional; calldata: z.ZodOptional; function_declaration: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }>; type PrivyTransactionScanningResponseParamsType = z.infer; declare const SimulationResult: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"Error">; error: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Error"; error: string; }, { status: "Error"; error: string; }>, z.ZodObject<{ /** Status of the blockaids simulation attempt*/ status: z.ZodLiteral<"Success">; /** The params of the transaction */ params: z.ZodOptional; to: z.ZodOptional; value: z.ZodOptional; data: z.ZodOptional; gas: z.ZodOptional; gas_price: z.ZodOptional; block_tag: z.ZodOptional; chain: z.ZodOptional; calldata: z.ZodOptional; function_declaration: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }>>; /** The assets leaving/entering the wallet */ assets_diffs: z.ZodArray; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; in: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; out: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }>, "many">; /** The assets approved to spend */ exposures: z.ZodArray; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; spenders: z.ZodRecord; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }>, "many">; }, "strip", z.ZodTypeAny, { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }, { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }>]>; type PrivyTransactionScanningResponseSimulationResult = z.infer; declare const TransactionScanningResponse: z.ZodObject<{ validation: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"Error">; error: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Error"; error: string; }, { status: "Error"; error: string; }>, z.ZodObject<{ status: z.ZodLiteral<"Success">; result_type: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Success"; result_type: string; }, { status: "Success"; result_type: string; }>]>; simulation: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"Error">; error: z.ZodString; }, "strip", z.ZodTypeAny, { status: "Error"; error: string; }, { status: "Error"; error: string; }>, z.ZodObject<{ /** Status of the blockaids simulation attempt*/ status: z.ZodLiteral<"Success">; /** The params of the transaction */ params: z.ZodOptional; to: z.ZodOptional; value: z.ZodOptional; data: z.ZodOptional; gas: z.ZodOptional; gas_price: z.ZodOptional; block_tag: z.ZodOptional; chain: z.ZodOptional; calldata: z.ZodOptional; function_declaration: z.ZodOptional; }, "strip", z.ZodTypeAny, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }, { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }, { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; }>>; /** The assets leaving/entering the wallet */ assets_diffs: z.ZodArray; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; in: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; out: z.ZodArray; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }>, "many">; /** The assets approved to spend */ exposures: z.ZodArray; symbol: z.ZodOptional; logo_url: z.ZodOptional; name: z.ZodOptional; decimals: z.ZodOptional; }, "strip", z.ZodTypeAny, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }, { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }>; spenders: z.ZodRecord; usd_price: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; usd_price?: string | undefined; }, { value?: string | undefined; usd_price?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }, { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }>, "many">; }, "strip", z.ZodTypeAny, { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }, { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }>]>; }, "strip", z.ZodTypeAny, { validation: { status: "Error"; error: string; } | { status: "Success"; result_type: string; }; simulation: { status: "Error"; error: string; } | { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }; }, { validation: { status: "Error"; error: string; } | { status: "Success"; result_type: string; }; simulation: { status: "Error"; error: string; } | { status: "Success"; assets_diffs: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; in: { value?: string | undefined; usd_price?: string | undefined; }[]; out: { value?: string | undefined; usd_price?: string | undefined; }[]; }[]; exposures: { asset: { symbol?: string | undefined; type?: string | undefined; name?: string | undefined; logo_url?: string | undefined; decimals?: number | undefined; }; spenders: Record; }[]; params?: { value?: string | undefined; chain?: string | undefined; data?: string | undefined; from?: string | undefined; to?: string | undefined; gas_price?: string | undefined; gas?: string | undefined; block_tag?: string | undefined; calldata?: { function_selector: string; function_signature?: string | undefined; function_declaration?: string | undefined; } | undefined; } | undefined; }; }>; type PrivyTransactionScanningResponseType = z.infer; /** * Parses a JSON representation of a URL's path variables * for the `test_account_id` * * Throws an error if the `test_account_id` is not defined * or is not a valid, non-empty string. */ declare const TestAccountIdFromPath: z.ZodCatch>; declare const TransactionStatus: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; declare const BaseTransactionResponse: z.ZodObject<{ caip2: z.ZodString; transaction_hash: z.ZodNullable; status: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; created_at: z.ZodNumber; sponsored: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; sponsored?: boolean | undefined; }, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; caip2: string; transaction_hash: string | null; created_at: number; sponsored?: boolean | undefined; }>; declare const TransactionResponse: z.ZodObject<{ caip2: z.ZodString; transaction_hash: z.ZodNullable; status: z.ZodEnum<["broadcasted", "confirmed", "execution_reverted", "failed", "replaced", "finalized", "provider_error", "pending"]>; created_at: z.ZodNumber; sponsored: z.ZodOptional; } & { id: z.ZodString; wallet_id: z.ZodString; }, "strip", z.ZodTypeAny, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; id: string; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; sponsored?: boolean | undefined; }, { status: "pending" | "broadcasted" | "confirmed" | "execution_reverted" | "failed" | "replaced" | "finalized" | "provider_error"; id: string; caip2: string; transaction_hash: string | null; created_at: number; wallet_id: string; sponsored?: boolean | undefined; }>; type TransactionResponseType = z.infer; /** * Parses a JSON representation of a URL's path variables * for the `transaction_id` field. * * Throws an error if the `transaction_id` is not defined * or is not a valid, non-empty string. */ declare const TransactionIdFromPath: z.ZodCatch>; /** * Event types enumerates the possible types of webhook events that can be emitted to Svix by the Privy app. * All webhook events emitted by the Privy app must be of one of the types defined here. */ declare const EventType: { readonly UserCreated: "user.created"; readonly UserAuthenticated: "user.authenticated"; readonly UserLinkedAccount: "user.linked_account"; readonly UserUnlinkedAccount: "user.unlinked_account"; readonly UserUpdatedAccount: "user.updated_account"; readonly UserTransferredAccount: "user.transferred_account"; readonly UserWalletCreated: "user.wallet_created"; readonly TransactionBroadcasted: "transaction.broadcasted"; readonly TransactionConfirmed: "transaction.confirmed"; readonly TransactionExecutionReverted: "transaction.execution_reverted"; readonly TransactionStillPending: "transaction.still_pending"; readonly TransactionFailed: "transaction.failed"; readonly TransactionReplaced: "transaction.replaced"; readonly TransactionProviderError: "transaction.provider_error"; readonly FundsDeposited: "wallet.funds_deposited"; readonly FundsWithdrawn: "wallet.funds_withdrawn"; readonly MfaEnabled: "mfa.enabled"; readonly MfaDisabled: "mfa.disabled"; readonly PrivateKeyExport: "wallet.private_key_export"; readonly WalletRecoverySetup: "wallet.recovery_setup"; readonly WalletRecovered: "wallet.recovered"; readonly KrakenEmbedVerificationCompleted: "kraken_embed.verification_completed"; readonly KrakenEmbedVerificationFailed: "kraken_embed.verification_failed"; }; type EventType = (typeof EventType)[keyof typeof EventType]; declare const EventTypes: ("user.created" | "user.authenticated" | "user.linked_account" | "user.unlinked_account" | "user.updated_account" | "user.transferred_account" | "user.wallet_created" | "transaction.broadcasted" | "transaction.confirmed" | "transaction.execution_reverted" | "transaction.still_pending" | "transaction.failed" | "transaction.replaced" | "transaction.provider_error" | "wallet.funds_deposited" | "wallet.funds_withdrawn" | "mfa.enabled" | "mfa.disabled" | "wallet.private_key_export" | "wallet.recovery_setup" | "wallet.recovered" | "kraken_embed.verification_completed" | "kraken_embed.verification_failed")[]; declare const AuthenticationEvent: readonly ["user.created", "user.authenticated", "user.linked_account", "user.unlinked_account", "user.updated_account"]; type AuthenticationEvent = (typeof AuthenticationEvent)[number]; declare const TransactionEvent: readonly ["transaction.broadcasted", "transaction.confirmed", "transaction.execution_reverted", "transaction.still_pending", "transaction.failed", "transaction.replaced", "transaction.provider_error"]; type TransactionEvent = (typeof TransactionEvent)[number]; declare const FundsTransferEvent: readonly ["wallet.funds_deposited", "wallet.funds_withdrawn"]; type FundsTransferEvent = (typeof FundsTransferEvent)[number]; declare const MfaEvent: readonly ["mfa.enabled", "mfa.disabled"]; type MfaEvent = (typeof MfaEvent)[number]; declare const PrivateKeyExportedEvent: readonly ["wallet.private_key_export"]; type PrivateKeyExportedEvent = (typeof PrivateKeyExportedEvent)[number]; declare const KrakenEmbedEvent: readonly ["kraken_embed.verification_completed", "kraken_embed.verification_failed"]; type KrakenEmbedEvent = (typeof KrakenEmbedEvent)[number]; declare const EMBEDDED_WALLET_RECOVERY_TYPES: readonly ["user_passcode_derived_recovery_key", "privy_passcode_derived_recovery_key", "privy_generated_recovery_key", "google_drive_recovery_secret", "icloud_recovery_secret", "recovery_encryption_key"]; type EmbeddedWalletRecoveryType = (typeof EMBEDDED_WALLET_RECOVERY_TYPES)[number]; type UserLinkedAccountEvent = BaseWebhookEvent; type UserUnlinkedAccountEvent = BaseWebhookEvent; type UserUpdatedAccountEvent = BaseWebhookEvent; type UserAuthenticatedEvent = BaseWebhookEvent; type UserCreatedEvent = BaseWebhookEvent; type UserWalletCreatedEvent = BaseWebhookEvent; type UserTransferredAccountEvent = BaseWebhookEvent; type TransactionBroadcastedEvent = BaseWebhookEvent; type TransactionConfirmedEvent = BaseWebhookEvent; type TransactionExecutionRevertedEvent = BaseWebhookEvent; type TransactionReplacedEvent = BaseWebhookEvent; type TransactionStillPendingEvent = BaseWebhookEvent; type TransactionFailedEvent = BaseWebhookEvent; type WalletDepositEventPayload = { wallet_id: string; idempotency_key: string; caip2: string; asset: { type: 'native-token'; address: null; } | { type: 'erc20'; address: string; } | { type: 'spl'; mint: string; } | { type: 'sac'; address: string; }; amount: string; transaction_hash: string; sender: string; recipient: string; block: { number: number; }; }; type WalletDepositEvent = BaseWebhookEvent; type WalletWithdrawalEventPayload = { wallet_id: string; idempotency_key: string; caip2: string; asset: { type: 'native-token'; address: null; } | { type: 'erc20'; address: string; } | { type: 'spl'; mint: string; } | { type: 'sac'; address: string; }; amount: string; transaction_hash: string; sender: string; recipient: string; block: { number: number; }; }; type WalletWithdrawalEvent = BaseWebhookEvent; type MfaEnabledEventPayload = { user_id: string; method: 'sms' | 'totp' | 'passkey'; }; type MfaEnabledEvent = BaseWebhookEvent; type MfaDisabledEventPayload = { user_id: string; method: 'sms' | 'totp' | 'passkey'; }; type MfaDisabledEvent = BaseWebhookEvent; type PrivateKeyExportEventPayload = { user_id: string; wallet_id: string; wallet_address: string; }; type PrivateKeyExportEvent = BaseWebhookEvent; type WalletRecoverySetupEventPayload = { user_id: string; wallet_id: string; wallet_address: string; method: EmbeddedWalletRecoveryType; }; type WalletRecoverySetupEvent = BaseWebhookEvent; type WalletRecoveredEventPayload = { user_id: string; wallet_id: string; wallet_address: string; }; type WalletRecoveredEvent = BaseWebhookEvent; type KrakenEmbedVerificationCompletedEventPayload = { user_id: string; completed_at: string; }; type KrakenEmbedVerificationCompletedEvent = BaseWebhookEvent; type BaseWebhookEvent> = { appId: string; eventName: TEventName; payload: TPayload; tags?: string[]; }; declare const OnrampProvider: z.ZodEnum<["bridge", "bridge-sandbox"]>; type OnrampProvider = z.infer; declare const GetOnrampTermsOfServiceStatusInput: z.ZodObject<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; }, "strip", z.ZodTypeAny, { provider: "bridge" | "bridge-sandbox"; }, { provider: "bridge" | "bridge-sandbox"; }>; type GetOnrampTermsOfServiceStatusInput = z.infer; declare const OnrampTermsOfServiceStatusResponse: z.ZodUnion<[z.ZodObject<{ status: z.ZodLiteral<"completed">; }, "strip", z.ZodTypeAny, { status: "completed"; }, { status: "completed"; }>, z.ZodObject<{ status: z.ZodLiteral<"incomplete">; url: z.ZodString; }, "strip", z.ZodTypeAny, { status: "incomplete"; url: string; }, { status: "incomplete"; url: string; }>]>; type OnrampTermsOfServiceStatusResponse = z.infer; declare const OnrampKycStatus: z.ZodEnum<["not_found", "active", "awaiting_questionnaire", "awaiting_ubo", "incomplete", "not_started", "offboarded", "paused", "rejected", "under_review"]>; type OnrampKycStatus = z.infer; declare const GetOnrampKycStatusInput: z.ZodObject<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; }, "strip", z.ZodTypeAny, { provider: "bridge" | "bridge-sandbox"; }, { provider: "bridge" | "bridge-sandbox"; }>; type GetOnrampKycStatusInput = z.infer; declare const GetOnrampKycStatusResponse: z.ZodObject<{ user_id: z.ZodString; provider_user_id: z.ZodOptional; status: z.ZodEnum<["not_found", "active", "awaiting_questionnaire", "awaiting_ubo", "incomplete", "not_started", "offboarded", "paused", "rejected", "under_review"]>; }, "strip", z.ZodTypeAny, { status: "rejected" | "incomplete" | "not_found" | "active" | "awaiting_questionnaire" | "awaiting_ubo" | "not_started" | "offboarded" | "paused" | "under_review"; user_id: string; provider_user_id?: string | undefined; }, { status: "rejected" | "incomplete" | "not_found" | "active" | "awaiting_questionnaire" | "awaiting_ubo" | "not_started" | "offboarded" | "paused" | "under_review"; user_id: string; provider_user_id?: string | undefined; }>; type GetOnrampKycStatusResponse = z.infer; declare const BridgeKycAddress: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; }>; type BridgeKycAddress = z.infer; declare const BridgeKycIdentifyingInformation: z.ZodObject<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; issuing_country: string; number?: string | undefined; description?: string | undefined; expiration?: string | undefined; image_front?: string | undefined; image_back?: string | undefined; }, { type: string; issuing_country: string; number?: string | undefined; description?: string | undefined; expiration?: string | undefined; image_front?: string | undefined; image_back?: string | undefined; }>; type BridgeKycIdentifyingInformation = z.infer; declare const BridgeKycDocument: z.ZodObject<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { purposes: string[]; file: string; description?: string | undefined; }, { purposes: string[]; file: string; description?: string | undefined; }>; type BridgeKycDocument = z.infer; declare const BridgeRegulatedActivity: z.ZodObject<{ regulated_activities_description: z.ZodString; primary_regulatory_authority_country: z.ZodString; primary_regulatory_authority_name: z.ZodString; license_number: z.ZodString; }, "strip", z.ZodTypeAny, { regulated_activities_description: string; primary_regulatory_authority_country: string; primary_regulatory_authority_name: string; license_number: string; }, { regulated_activities_description: string; primary_regulatory_authority_country: string; primary_regulatory_authority_name: string; license_number: string; }>; type BridgeRegulatedActivity = z.infer; declare const BridgeBusinessAssociatedPerson: z.ZodObject<{ first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; has_ownership: z.ZodBoolean; has_control: z.ZodBoolean; is_signer: z.ZodBoolean; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; is_director: z.ZodOptional; title: z.ZodOptional; ownership_percentage: z.ZodOptional; relationship_established_at: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; has_ownership: boolean; has_control: boolean; is_signer: boolean; identifying_information: z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; is_director?: boolean | undefined; title?: string | undefined; ownership_percentage?: number | undefined; relationship_established_at?: string | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; has_ownership: boolean; has_control: boolean; is_signer: boolean; identifying_information: z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; is_director?: boolean | undefined; title?: string | undefined; ownership_percentage?: number | undefined; relationship_established_at?: string | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>; type BridgeBusinessAssociatedPerson = z.infer; declare const BridgeTradedListings: z.ZodObject<{ market_identifier_code: z.ZodString; stock_number: z.ZodString; ticket: z.ZodString; }, "strip", z.ZodTypeAny, { market_identifier_code: string; stock_number: string; ticket: string; }, { market_identifier_code: string; stock_number: string; ticket: string; }>; type BridgeTradedListings = z.infer; /** * @link API Reference: https://apidocs.bridge.xyz/reference/post_customers * * `signed_agreement_id` is required to create a customer, but is not required to update a customer. We'll * define it as optional here, but it will be required when creating a customer. */ declare const BridgeKycData: z.ZodObject<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; }, { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; }>; type BridgeKycData = z.infer; declare const OnrampKycInput: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{ provider: z.ZodLiteral<"bridge">; data: z.ZodObject<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { provider: "bridge"; data: { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; } & { [k: string]: unknown; }; }, { provider: "bridge"; data: { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; } & { [k: string]: unknown; }; }>, z.ZodObject<{ provider: z.ZodLiteral<"bridge-sandbox">; data: z.ZodObject<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"individual">; first_name: z.ZodString; last_name: z.ZodString; email: z.ZodString; residential_address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>; birth_date: z.ZodString; identifying_information: z.ZodArray; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; ofac_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; kyc_screen: z.ZodOptional; }, "strip", z.ZodTypeAny, { screened_at: string; result: "passed"; }, { screened_at: string; result: "passed"; }>>; signed_agreement_id: z.ZodOptional; middle_name: z.ZodOptional; transliterated_first_name: z.ZodOptional; transliterated_middle_name: z.ZodOptional; transliterated_last_name: z.ZodOptional; phone: z.ZodOptional; transliterated_residential_address: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; endorsements: z.ZodOptional>; account_purpose: z.ZodOptional; account_purpose_other: z.ZodOptional; employment_status: z.ZodOptional; expected_monthly_payments_usd: z.ZodOptional; acting_as_intermediary: z.ZodOptional; most_recent_occupation: z.ZodOptional; source_of_funds: z.ZodOptional; nationality: z.ZodOptional; verified_selfie_at: z.ZodOptional; completed_customer_safety_check_at: z.ZodOptional; documents: z.ZodOptional; file: z.ZodString; description: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; has_signed_terms_of_service: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { provider: "bridge-sandbox"; data: { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectOutputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectOutputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; } & { [k: string]: unknown; }; }, { provider: "bridge-sandbox"; data: { type: "individual"; email: string; first_name: string; last_name: string; residential_address: { street_line_1: string; city: string; subdivision: string; country: string; street_line_2?: string | undefined; postal_code?: string | undefined; } & { [k: string]: unknown; }; birth_date: string; identifying_information: z.objectInputType<{ type: z.ZodString; issuing_country: z.ZodString; number: z.ZodOptional; description: z.ZodOptional; expiration: z.ZodOptional; image_front: z.ZodOptional; image_back: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; phone?: string | undefined; middle_name?: string | undefined; transliterated_first_name?: string | undefined; transliterated_middle_name?: string | undefined; transliterated_last_name?: string | undefined; transliterated_residential_address?: z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; subdivision: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; nationality?: string | undefined; verified_selfie_at?: string | undefined; completed_customer_safety_check_at?: string | undefined; documents?: z.objectInputType<{ purposes: z.ZodArray; file: z.ZodString; description: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; ofac_screen?: { screened_at: string; result: "passed"; } | undefined; kyc_screen?: { screened_at: string; result: "passed"; } | undefined; signed_agreement_id?: string | undefined; endorsements?: string[] | undefined; account_purpose?: string | undefined; account_purpose_other?: string | undefined; employment_status?: string | undefined; expected_monthly_payments_usd?: string | undefined; acting_as_intermediary?: string | undefined; most_recent_occupation?: string | undefined; source_of_funds?: string | undefined; has_signed_terms_of_service?: boolean | undefined; } & { [k: string]: unknown; }; }>]>; type OnrampKycInput = z.infer; declare const OnrampKycResponse: z.ZodObject<{ user_id: z.ZodString; provider_user_id: z.ZodOptional; status: z.ZodEnum<["not_found", "active", "awaiting_questionnaire", "awaiting_ubo", "incomplete", "not_started", "offboarded", "paused", "rejected", "under_review"]>; }, "strip", z.ZodTypeAny, { status: "rejected" | "incomplete" | "not_found" | "active" | "awaiting_questionnaire" | "awaiting_ubo" | "not_started" | "offboarded" | "paused" | "under_review"; user_id: string; provider_user_id?: string | undefined; }, { status: "rejected" | "incomplete" | "not_found" | "active" | "awaiting_questionnaire" | "awaiting_ubo" | "not_started" | "offboarded" | "paused" | "under_review"; user_id: string; provider_user_id?: string | undefined; }>; type OnrampKycResponse = z.infer; declare const BridgeKycInput: z.ZodObject<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; full_name: z.ZodOptional; email: z.ZodString; type: z.ZodOptional>; endorsements: z.ZodOptional, "many">>; redirect_uri: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; full_name: z.ZodOptional; email: z.ZodString; type: z.ZodOptional>; endorsements: z.ZodOptional, "many">>; redirect_uri: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; full_name: z.ZodOptional; email: z.ZodString; type: z.ZodOptional>; endorsements: z.ZodOptional, "many">>; redirect_uri: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; type BridgeKycInput = z.infer; declare const BridgeKycLinkResponse: z.ZodObject<{ id: z.ZodString; customer_id: z.ZodString; full_name: z.ZodString; email: z.ZodString; kyc_link: z.ZodString; kyc_status: z.ZodEnum<["not_started", "pending", "incomplete", "awaiting_ubo", "manual_review", "under_review", "approved", "rejected"]>; rejection_reasons: z.ZodArray, "many">; tos_link: z.ZodString; tos_status: z.ZodEnum<["pending", "approved"]>; persona_inquiry_type: z.ZodOptional; created_at: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; email: string; created_at: string; full_name: string; customer_id: string; kyc_link: string; kyc_status: "pending" | "approved" | "rejected" | "incomplete" | "awaiting_ubo" | "not_started" | "under_review" | "manual_review"; rejection_reasons: { created_at: string; developer_reason: string; reason: string; }[]; tos_link: string; tos_status: "pending" | "approved"; persona_inquiry_type?: string | undefined; }, { id: string; email: string; created_at: string; full_name: string; customer_id: string; kyc_link: string; kyc_status: "pending" | "approved" | "rejected" | "incomplete" | "awaiting_ubo" | "not_started" | "under_review" | "manual_review"; rejection_reasons: { created_at: string; developer_reason: string; reason: string; }[]; tos_link: string; tos_status: "pending" | "approved"; persona_inquiry_type?: string | undefined; }>; type BridgeKycLinkResponse = z.infer; declare const FiatCurrency: z.ZodEnum<["usd", "eur"]>; type FiatCurrency = z.infer; declare const GetOnrampFiatAccountStatusInput: z.ZodObject<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; }, "strip", z.ZodTypeAny, { provider: "bridge" | "bridge-sandbox"; }, { provider: "bridge" | "bridge-sandbox"; }>; type GetOnrampFiatAccountStatusInput = z.infer; declare const GetOnrampFiatAccountsResponse: z.ZodObject<{ accounts: z.ZodArray; currency: z.ZodString; account_type: z.ZodString; last_4: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }, { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { accounts: { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }[]; }, { accounts: { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }[]; }>; type GetOnrampFiatAccountsResponse = z.infer; declare const FiatAccountAddress: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; type FiatAccountAddress = z.infer; declare const FiatAccountUsAccountData: z.ZodObject<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { account_number: string; routing_number: string; checking_or_savings?: "checking" | "savings" | undefined; }, { account_number: string; routing_number: string; checking_or_savings?: "checking" | "savings" | undefined; }>; type FiatAccountUsAccountData = z.infer; declare const FiatAccountIbanData: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; type FiatAccountIbanData = z.infer; declare const FiatAccountSwiftData: z.ZodObject<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "strip", z.ZodTypeAny, { address: { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }; account: { country: string; account_number: string; bic: string; }; category: "client" | "parent_company" | "subsidiary" | "supplier"; purpose_of_funds: ("intra_group_transfer" | "invoice_for_goods_and_services")[]; short_business_description: string; }, { address: { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }; account: { country: string; account_number: string; bic: string; }; category: "client" | "parent_company" | "subsidiary" | "supplier"; purpose_of_funds: ("intra_group_transfer" | "invoice_for_goods_and_services")[]; short_business_description: string; }>; type FiatAccountSwiftData = z.infer; declare const OnrampFiatAccountInput: z.ZodEffects; account_owner_name: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodEnum<["usd", "eur"]>; iban: z.ZodOptional, z.objectInputType<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; account: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; swift: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">>>; address: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; first_name: z.ZodOptional; last_name: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; account_owner_name: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodEnum<["usd", "eur"]>; iban: z.ZodOptional, z.objectInputType<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; account: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; swift: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">>>; address: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; first_name: z.ZodOptional; last_name: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; account_owner_name: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodEnum<["usd", "eur"]>; iban: z.ZodOptional, z.objectInputType<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; account: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; swift: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">>>; address: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; first_name: z.ZodOptional; last_name: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; account_owner_name: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodEnum<["usd", "eur"]>; iban: z.ZodOptional, z.objectInputType<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; account: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; swift: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">>>; address: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; first_name: z.ZodOptional; last_name: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; account_owner_name: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodEnum<["usd", "eur"]>; iban: z.ZodOptional, z.objectInputType<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; account: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ account_number: z.ZodString; routing_number: z.ZodString; checking_or_savings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; swift: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address: z.ZodObject<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }, { street_line_1: string; city: string; country: string; state?: string | undefined; street_line_2?: string | undefined; postal_code?: string | undefined; }>; category: z.ZodEnum<["client", "parent_company", "subsidiary", "supplier"]>; purpose_of_funds: z.ZodArray, "many">; short_business_description: z.ZodString; account: z.ZodObject<{ account_number: z.ZodString; bic: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; account_number: string; bic: string; }, { country: string; account_number: string; bic: string; }>; }, z.ZodTypeAny, "passthrough">>>; address: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ street_line_1: z.ZodString; street_line_2: z.ZodOptional; city: z.ZodString; postal_code: z.ZodOptional; country: z.ZodString; state: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; first_name: z.ZodOptional; last_name: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; type OnrampFiatAccountInput = z.infer; declare const OnrampFiatAccountResponse: z.ZodObject<{ id: z.ZodString; bank_name: z.ZodOptional; currency: z.ZodString; account_type: z.ZodString; last_4: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }, { id: string; currency: string; account_type: string; bank_name?: string | undefined; last_4?: string | undefined; }>; type OnrampFiatAccountResponse = z.infer; declare const FiatPaymentRail: z.ZodEnum<["sepa", "ach_push", "wire"]>; type FiatPaymentRail = z.infer; declare const OnrampChain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; type OnrampChain = z.infer; declare const OnrampAsset: z.ZodEnum<["usdc"]>; type OnrampAsset = z.infer; declare const OnrampTransferStatus: z.ZodEnum<["awaiting_funds", "in_review", "funds_received", "payment_submitted", "payment_processed", "canceled", "error", "undeliverable", "returned", "refunded"]>; type OnrampTransferStatus = z.infer; declare const OnrampInput: z.ZodObject<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; currency: z.ZodEnum<["usd", "eur"]>; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; currency: z.ZodEnum<["usdc"]>; to_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; type OnrampInput = z.infer; declare const OnrampResponse: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["awaiting_funds", "in_review", "funds_received", "payment_submitted", "payment_processed", "canceled", "error", "undeliverable", "returned", "refunded"]>; deposit_instructions: z.ZodObject<{ amount: z.ZodString; currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; deposit_message: z.ZodOptional; bank_name: z.ZodOptional; bank_account_number: z.ZodOptional; bank_routing_number: z.ZodOptional; bank_beneficiary_name: z.ZodOptional; bank_beneficiary_address: z.ZodOptional; bank_address: z.ZodOptional; iban: z.ZodOptional; bic: z.ZodOptional; account_holder_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }, { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; }, { status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; }>; type OnrampResponse = z.infer; declare const OfframpInput: z.ZodObject<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** * Amount of the transfer, expressed as a decimal string. Examples include "100.25", "0.1", "1.234567", "1.01" etc. * It is denominated in the source currency if that is a fiat currency, or in the fiat currency to which the source currency is pegged. */ amount: z.ZodString; provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; source: z.ZodObject<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; from_address: z.ZodEffects; }, z.ZodTypeAny, "passthrough">>; destination: z.ZodObject<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; external_account_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; type OfframpInput = z.infer; declare const OfframpResponse: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["awaiting_funds", "in_review", "funds_received", "payment_submitted", "payment_processed", "canceled", "error", "undeliverable", "returned", "refunded"]>; deposit_instructions: z.ZodObject<{ amount: z.ZodString; currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; to_address: z.ZodString; from_address: z.ZodString; }, "strip", z.ZodTypeAny, { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }, { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }>; }, "strip", z.ZodTypeAny, { status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; }, { status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; }>; type OfframpResponse = z.infer; declare const ListFiatTransactionsInput: z.ZodObject<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; tx_hash: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; tx_hash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ provider: z.ZodEnum<["bridge", "bridge-sandbox"]>; tx_hash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; type ListFiatTransactionsInput = z.infer; declare const ListFiatTransactionsResponse: z.ZodObject<{ transactions: z.ZodArray; created_at: z.ZodString; destination: z.ZodObject<{ chain: z.ZodString; currency: z.ZodString; address: z.ZodString; privy_user_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }, { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }>; receipt: z.ZodOptional; }, "strip", z.ZodTypeAny, { final_amount: string; transaction_hash?: string | undefined; }, { final_amount: string; transaction_hash?: string | undefined; }>>; is_sandbox: z.ZodBoolean; } & { id: z.ZodString; status: z.ZodEnum<["awaiting_funds", "in_review", "funds_received", "payment_submitted", "payment_processed", "canceled", "error", "undeliverable", "returned", "refunded"]>; deposit_instructions: z.ZodObject<{ amount: z.ZodString; currency: z.ZodEnum<["usd", "eur"]>; payment_rail: z.ZodEnum<["sepa", "ach_push", "wire"]>; deposit_message: z.ZodOptional; bank_name: z.ZodOptional; bank_account_number: z.ZodOptional; bank_routing_number: z.ZodOptional; bank_beneficiary_name: z.ZodOptional; bank_beneficiary_address: z.ZodOptional; bank_address: z.ZodOptional; iban: z.ZodOptional; bic: z.ZodOptional; account_holder_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }, { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "onramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; }, { type: "onramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"offramp">; created_at: z.ZodString; destination: z.ZodObject<{ payment_rail: z.ZodString; currency: z.ZodString; external_account_id: z.ZodString; }, "strip", z.ZodTypeAny, { currency: string; payment_rail: string; external_account_id: string; }, { currency: string; payment_rail: string; external_account_id: string; }>; receipt: z.ZodOptional; }, "strip", z.ZodTypeAny, { final_amount: string; transaction_hash?: string | undefined; }, { final_amount: string; transaction_hash?: string | undefined; }>>; is_sandbox: z.ZodBoolean; } & { id: z.ZodString; status: z.ZodEnum<["awaiting_funds", "in_review", "funds_received", "payment_submitted", "payment_processed", "canceled", "error", "undeliverable", "returned", "refunded"]>; deposit_instructions: z.ZodObject<{ amount: z.ZodString; currency: z.ZodEnum<["usdc"]>; chain: z.ZodEnum<["ethereum", "base", "arbitrum", "polygon", "optimism"]>; to_address: z.ZodString; from_address: z.ZodString; }, "strip", z.ZodTypeAny, { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }, { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }>; }, "strip", z.ZodTypeAny, { type: "offramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { currency: string; payment_rail: string; external_account_id: string; }; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; }, { type: "offramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { currency: string; payment_rail: string; external_account_id: string; }; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { transactions: ({ type: "onramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; } | { type: "offramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { currency: string; payment_rail: string; external_account_id: string; }; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; })[]; }, { transactions: ({ type: "onramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { chain: string; address: string; currency: string; privy_user_id?: string | undefined; }; deposit_instructions: { amount: string; currency: "usd" | "eur"; payment_rail: "sepa" | "ach_push" | "wire"; bank_name?: string | undefined; bic?: string | undefined; iban?: string | undefined; deposit_message?: string | undefined; bank_account_number?: string | undefined; bank_routing_number?: string | undefined; bank_beneficiary_name?: string | undefined; bank_beneficiary_address?: string | undefined; bank_address?: string | undefined; account_holder_name?: string | undefined; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; } | { type: "offramp"; status: "error" | "awaiting_funds" | "in_review" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "undeliverable" | "returned" | "refunded"; id: string; created_at: string; destination: { currency: string; payment_rail: string; external_account_id: string; }; deposit_instructions: { chain: "ethereum" | "base" | "optimism" | "polygon" | "arbitrum"; amount: string; currency: "usdc"; to_address: string; from_address: string; }; is_sandbox: boolean; receipt?: { final_amount: string; transaction_hash?: string | undefined; } | undefined; })[]; }>; type ListFiatTransactionsResponse = z.infer; /** * Parses a JSON object for a valid wallet linked account import object. */ declare const ImportWalletAccountInput: z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }>; type ImportWalletAccountInputType = z.infer; /** * Parses a JSON object for a valid email linked account import object. */ declare const ImportEmailAccountInput: z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>; type ImportEmailAccountInputType = z.infer; /** * Parses a JSON object for a valid phone number linked account import object. */ declare const ImportPhoneAccountInput: z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { number: string; type: "phone"; }, { number: string; type: "phone"; }>; type ImportPhoneAccountInputType = z.infer; /** * Parses a JSON object for a valid Google linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken */ declare const ImportGoogleAccountInput: z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodEffects; name: z.ZodString; }, "strict", z.ZodTypeAny, { type: "google_oauth"; name: string; email: string; subject: string; }, { type: "google_oauth"; name: string; email: string; subject: string; }>; type ImportGoogleAccountInputType = z.infer; /** * Parses a JSON object for a valid Twitter linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username/Name Reference: https://help.twitter.com/en/managing-your-account/change-twitter-handle * ^ Note that we are allowing for usernames that have length < 5 as many legacy usernames have < 5 characters * Field Requirements Reference: https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-me#tab0 */ declare const ImportTwitterAccountInput: z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; name: z.ZodString; username: z.ZodString; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }>; type ImportTwitterAccountInputType = z.infer; /** * Parses a JSON object for a valid Discord linked account import object. * * Subject Reference: https://discord.com/developers/docs/resources/user * IMPORTANT: Discord subjects are snowflake IDs (numeric strings of 17-20 digits). * Username Reference: https://discord.com/developers/docs/resources/user */ declare const ImportDiscordAccountInput: z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodEffects; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }>; type ImportDiscordAccountInputType = z.infer; /** * Parses a JSON object for a valid Spotify linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Name Reference: https://developer.spotify.com/documentation/web-api/reference/get-current-users-profile */ declare const ImportSpotifyAccountInput: z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }>; type ImportSpotifyAccountInputType = z.infer; /** * Parses a JSON object for a valid GitHub linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username Reference: https://github.com/join (error modal) * * Maximum is 39 characters. Username may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen. */ declare const ImportGithubAccountInput: z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }>; type ImportGithubAccountInputType = z.infer; /** * Parses a JSON object for a valid Instagram linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username Reference: Usernames can only use letters, numbers, underscores and periods */ declare const ImportInstagramAccountInput: z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodString; }, "strict", z.ZodTypeAny, { type: "instagram_oauth"; username: string; subject: string; }, { type: "instagram_oauth"; username: string; subject: string; }>; type ImportInstagramAccountInputType = z.infer; /** * Parses a JSON object for a valid Tiktok linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username Reference: */ declare const ImportTiktokAccountInput: z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodNullable; }, "strict", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }>; type ImportTiktokAccountInputType = z.infer; /** * Parses a JSON object for a valid Line linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username Reference: */ declare const ImportLineAccountInput: z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; email: z.ZodOptional>; name: z.ZodOptional; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }>; type ImportLineAccountInputType = z.infer; /** * Parses a JSON object for a valid Twitch linked account import object. * * Subject Reference: https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/ * Username Reference: https://help.twitch.tv/s/article/username-rename-and-recycling-policies */ declare const ImportTwitchAccountInput: z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "twitch_oauth"; subject: string; username?: string | undefined; }, { type: "twitch_oauth"; subject: string; username?: string | undefined; }>; type ImportTwitchAccountInputType = z.infer; /** * Parses a JSON object for a valid GitHub linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken * Username Reference: https://github.com/join (error modal) * * Maximum is 39 characters. Username may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen. */ declare const ImportLinkedInAccountInput: z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; vanityName: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }>; type ImportLinkedInAccountInputType = z.infer; /** * Parses a JSON object for a valid Apple linked account import object. * * Subject Reference: https://openid.net/specs/openid-connect-core-1_0.html#IDToken */ declare const ImportAppleAccountInput: z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "apple_oauth"; subject: string; email?: string | undefined; }, { type: "apple_oauth"; subject: string; email?: string | undefined; }>; type ImportAppleAccountInputType = z.infer; /** * Parses a JSON object for a valid Farcaster linked account import object. * * References: * - Farcaster ID: https://github.com/farcasterxyz/contracts?tab=readme-ov-file#contracts * - Owner address and user data: https://github.com/farcasterxyz/protocol/blob/main/docs/SPECIFICATION.md */ declare const ImportFarcasterAccountInput: z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }>; type ImportFarcasterAccountInputType = z.infer; /** * Parses a JSON object for a valid Telegram linked account import object. */ declare const ImportTelegramAccountInput: z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; photo_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>; type ImportTelegramAccountInputType = z.infer; /** * Parses a JSON object for a valid Custom JWT Account import object. */ declare const ImportCustomJwtAccountInput: z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>; type ImportCustomJwtAccountInputType = z.infer; declare const LinkedAccountInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"wallet">; address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }>, z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { number: string; type: "phone"; }, { number: string; type: "phone"; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodEffects; name: z.ZodString; }, "strict", z.ZodTypeAny, { type: "google_oauth"; name: string; email: string; subject: string; }, { type: "google_oauth"; name: string; email: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; name: z.ZodString; username: z.ZodString; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodEffects; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodString; }, "strict", z.ZodTypeAny, { type: "instagram_oauth"; username: string; subject: string; }, { type: "instagram_oauth"; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodNullable; }, "strict", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; email: z.ZodOptional>; name: z.ZodOptional; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "twitch_oauth"; subject: string; username?: string | undefined; }, { type: "twitch_oauth"; subject: string; username?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "apple_oauth"; subject: string; email?: string | undefined; }, { type: "apple_oauth"; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; vanityName: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; photo_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>]>; type LinkedAccountInputType = z.infer; /** * Parses a valid array of LinkedAccount import objects. */ declare const LinkedAccountsInput: z.ZodEffects; address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }>, z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { number: string; type: "phone"; }, { number: string; type: "phone"; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodEffects; name: z.ZodString; }, "strict", z.ZodTypeAny, { type: "google_oauth"; name: string; email: string; subject: string; }, { type: "google_oauth"; name: string; email: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; name: z.ZodString; username: z.ZodString; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodEffects; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodString; }, "strict", z.ZodTypeAny, { type: "instagram_oauth"; username: string; subject: string; }, { type: "instagram_oauth"; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodNullable; }, "strict", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; email: z.ZodOptional>; name: z.ZodOptional; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "twitch_oauth"; subject: string; username?: string | undefined; }, { type: "twitch_oauth"; subject: string; username?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "apple_oauth"; subject: string; email?: string | undefined; }, { type: "apple_oauth"; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; vanityName: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; photo_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>]>, "many">, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>; type LinkedAccountsInputType = z.infer; /** * Parse and validate create embedded wallet input for user import. * This is a base schema without refines to be used for type inference and later extended with refines. * This also provides support for the deprecated methods. */ declare const CreateEmbeddedWalletUserImportInput: z.ZodObject<{ /** * @deprecated Create an Ethereum embedded wallet. */ create_embedded_wallet: z.ZodOptional; /** * @deprecated Create the specified number of Ethereum wallets. */ create_n_embedded_wallets: z.ZodOptional; create_n_ethereum_wallets: z.ZodOptional; create_ethereum_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>; type CreateEmbeddedWalletUserImportInputType = z.infer; /** * Merges the legacy wallet creation input schema with the new unified embedded wallets input schema */ declare const EmbeddedWalletCreationInputUnion: z.ZodObject<{ wallets: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; } & { /** * @deprecated Create an Ethereum embedded wallet. */ create_embedded_wallet: z.ZodOptional; /** * @deprecated Create the specified number of Ethereum wallets. */ create_n_embedded_wallets: z.ZodOptional; create_n_ethereum_wallets: z.ZodOptional; create_ethereum_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>; type EmbeddedWalletCreationInputUnionType = z.infer; /** * Parse and validate user creation inputs. Parsed object * is then transformed to match User model foreign relations and validated * once more for aggregate constraints (i.e. no more than 1 Twitter account). * * Used for request body of POST /api/users/import and /api/users */ declare const ImportUserInput: z.ZodEffects>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; } & { /** * @deprecated Create an Ethereum embedded wallet. */ create_embedded_wallet: z.ZodOptional; /** * @deprecated Create the specified number of Ethereum wallets. */ create_n_embedded_wallets: z.ZodOptional; create_n_ethereum_wallets: z.ZodOptional; create_ethereum_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; } & { linked_accounts: z.ZodEffects; address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }>, z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { number: string; type: "phone"; }, { number: string; type: "phone"; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodEffects; name: z.ZodString; }, "strict", z.ZodTypeAny, { type: "google_oauth"; name: string; email: string; subject: string; }, { type: "google_oauth"; name: string; email: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; name: z.ZodString; username: z.ZodString; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodEffects; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodString; }, "strict", z.ZodTypeAny, { type: "instagram_oauth"; username: string; subject: string; }, { type: "instagram_oauth"; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodNullable; }, "strict", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; email: z.ZodOptional>; name: z.ZodOptional; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "twitch_oauth"; subject: string; username?: string | undefined; }, { type: "twitch_oauth"; subject: string; username?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "apple_oauth"; subject: string; email?: string | undefined; }, { type: "apple_oauth"; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; vanityName: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; photo_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>]>, "many">, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>; custom_metadata: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { linked_accounts: { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { linked_accounts: ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>, { linked_accounts: { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { linked_accounts: ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>; type ImportUserInputType = z.infer; declare const ImportManyUsersInput: z.ZodObject<{ users: z.ZodArray>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; } & { /** * @deprecated Create an Ethereum embedded wallet. */ create_embedded_wallet: z.ZodOptional; /** * @deprecated Create the specified number of Ethereum wallets. */ create_n_embedded_wallets: z.ZodOptional; create_n_ethereum_wallets: z.ZodOptional; create_ethereum_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; } & { linked_accounts: z.ZodEffects; address: z.ZodUnion<[z.ZodEffects, z.ZodEffects]>; chain_type: z.ZodEnum<["ethereum", "solana"]>; }, "strip", z.ZodTypeAny, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }, { type: "wallet"; address: string; chain_type: "solana" | "ethereum"; }>, z.ZodObject<{ type: z.ZodLiteral<"email">; address: z.ZodEffects; }, "strip", z.ZodTypeAny, { type: "email"; address: string; }, { type: "email"; address: string; }>, z.ZodObject<{ type: z.ZodLiteral<"phone">; number: z.ZodEffects, string, string>; }, "strip", z.ZodTypeAny, { number: string; type: "phone"; }, { number: string; type: "phone"; }>, z.ZodObject<{ type: z.ZodLiteral<"google_oauth">; subject: z.ZodString; email: z.ZodEffects; name: z.ZodString; }, "strict", z.ZodTypeAny, { type: "google_oauth"; name: string; email: string; subject: string; }, { type: "google_oauth"; name: string; email: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"twitter_oauth">; subject: z.ZodString; name: z.ZodString; username: z.ZodString; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }, { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"discord_oauth">; subject: z.ZodString; username: z.ZodEffects; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }, { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"spotify_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }, { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"instagram_oauth">; subject: z.ZodString; username: z.ZodString; }, "strict", z.ZodTypeAny, { type: "instagram_oauth"; username: string; subject: string; }, { type: "instagram_oauth"; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"tiktok_oauth">; subject: z.ZodString; username: z.ZodString; name: z.ZodNullable; }, "strict", z.ZodTypeAny, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }, { type: "tiktok_oauth"; name: string | null; username: string; subject: string; }>, z.ZodObject<{ type: z.ZodLiteral<"line_oauth">; subject: z.ZodString; email: z.ZodOptional>; name: z.ZodOptional; profile_picture_url: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }, { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"twitch_oauth">; subject: z.ZodString; username: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "twitch_oauth"; subject: string; username?: string | undefined; }, { type: "twitch_oauth"; subject: string; username?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"apple_oauth">; subject: z.ZodString; email: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "apple_oauth"; subject: string; email?: string | undefined; }, { type: "apple_oauth"; subject: string; email?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"linkedin_oauth">; subject: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; vanityName: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }, { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"farcaster">; fid: z.ZodNumber; owner_address: z.ZodEffects; username: z.ZodOptional; display_name: z.ZodOptional; bio: z.ZodOptional; profile_picture_url: z.ZodOptional; homepage_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }, { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"telegram">; telegram_user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; photo_url: z.ZodOptional; }, "strict", z.ZodTypeAny, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }, { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"custom_auth">; custom_user_id: z.ZodString; }, "strict", z.ZodTypeAny, { type: "custom_auth"; custom_user_id: string; }, { type: "custom_auth"; custom_user_id: string; }>]>, "many">, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>, { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }, ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]>; custom_metadata: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { linked_accounts: { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { linked_accounts: ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>, { linked_accounts: { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }, { linked_accounts: ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { users: { linked_accounts: { emailAccounts: ImportEmailAccountInputType[]; phoneAccounts: ImportPhoneAccountInputType[]; ethereumAccounts: ImportWalletAccountInputType[]; solanaAccounts: ImportWalletAccountInputType[]; googleAccounts: ImportGoogleAccountInputType[]; twitterAccounts: ImportTwitterAccountInputType[]; discordAccounts: ImportDiscordAccountInputType[]; githubAccounts: ImportGithubAccountInputType[]; spotifyAccounts: ImportSpotifyAccountInputType[]; instagramAccounts: ImportInstagramAccountInputType[]; tiktokAccounts: ImportTiktokAccountInputType[]; lineAccounts: ImportLineAccountInputType[]; twitchAccounts: ImportTwitchAccountInputType[]; linkedinAccounts: ImportLinkedInAccountInputType[]; appleAccounts: ImportAppleAccountInputType[]; farcasterAccounts: ImportFarcasterAccountInputType[]; telegramAccounts: ImportTelegramAccountInputType[]; customJwtAccounts: ImportCustomJwtAccountInputType[]; }; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }[]; }, { users: { linked_accounts: ({ type: "wallet"; address: string; chain_type: "solana" | "ethereum"; } | { type: "email"; address: string; } | { number: string; type: "phone"; } | { type: "google_oauth"; name: string; email: string; subject: string; } | { type: "twitter_oauth"; name: string; username: string; subject: string; profile_picture_url?: string | undefined; } | { type: "discord_oauth"; username: string; subject: string; email?: string | undefined; } | { type: "spotify_oauth"; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "github_oauth"; username: string; subject: string; name?: string | undefined; email?: string | undefined; } | { type: "instagram_oauth"; username: string; subject: string; } | { type: "tiktok_oauth"; name: string | null; username: string; subject: string; } | { type: "line_oauth"; subject: string; name?: string | undefined; email?: string | undefined; profile_picture_url?: string | undefined; } | { type: "twitch_oauth"; subject: string; username?: string | undefined; } | { type: "linkedin_oauth"; subject: string; name?: string | undefined; email?: string | undefined; vanityName?: string | undefined; } | { type: "apple_oauth"; subject: string; email?: string | undefined; } | { type: "farcaster"; fid: number; owner_address: string; username?: string | undefined; display_name?: string | undefined; bio?: string | undefined; profile_picture_url?: string | undefined; homepage_url?: string | undefined; } | { type: "telegram"; telegram_user_id: string; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; photo_url?: string | undefined; } | { type: "custom_auth"; custom_user_id: string; })[]; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; custom_metadata?: Record | undefined; create_embedded_wallet?: boolean | undefined; create_n_embedded_wallets?: number | undefined; create_n_ethereum_wallets?: number | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; }[]; }>; type ImportManyUsersInputType = z.input; declare const CreateWalletInput: z.ZodObject<{ create_ethereum_wallet: z.ZodOptional; number_of_ethereum_wallets_to_create: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }, { create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }>; type CreateWalletInputType = z.infer; type CreateWalletInputWithRefinesType = z.infer; declare const WalletCreateUserInput: z.ZodEffects>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; } & { create_ethereum_wallet: z.ZodOptional; number_of_ethereum_wallets_to_create: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; } & { user_id: z.ZodEffects; }, "strict", z.ZodTypeAny, { user_id: string; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }, { user_id: string; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }>, { user_id: string; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }, { user_id: string; wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }>; type WalletCreateUserInputType = z.infer; declare const WalletCreateUserInputWithoutUserId: z.ZodEffects>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; } & { create_ethereum_wallet: z.ZodOptional; number_of_ethereum_wallets_to_create: z.ZodOptional; create_ethereum_smart_wallet: z.ZodOptional; create_solana_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }>, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; create_ethereum_wallet?: boolean | undefined; create_solana_wallet?: boolean | undefined; create_ethereum_smart_wallet?: boolean | undefined; number_of_ethereum_wallets_to_create?: number | undefined; }>; type WalletCreateUserInputWithoutUserIdType = z.infer; /** * The fields on wallet creation that can be specified when creating a user controlled embedded server wallet. * Legacy and owner fields are excluded. */ declare const WalletCreationInput: z.ZodObject<{ additional_signers: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>; type WalletCreationInputType = z.infer; /** * The fields describing embedded wallet creation, used for user import and embedded wallet generation */ declare const EmbeddedWalletCreationInput: z.ZodObject<{ wallets: z.ZodOptional>; }, "strict", z.ZodTypeAny, { signer_id: string; override_policy_ids?: string[] | undefined; }, { signer_id: string; override_policy_ids?: string[] | undefined; }>, "many">>; policy_ids: z.ZodOptional>; chain_type: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"cosmos">, z.ZodLiteral<"stellar">, z.ZodLiteral<"sui">, z.ZodLiteral<"aptos">, z.ZodLiteral<"movement">, z.ZodLiteral<"tron">, z.ZodLiteral<"bitcoin-segwit">, z.ZodLiteral<"near">, z.ZodLiteral<"ton">, z.ZodLiteral<"starknet">]>, z.ZodLiteral<"spark">]>, z.ZodUnion<[z.ZodLiteral<"solana">, z.ZodLiteral<"ethereum">]>]>; create_smart_wallet: z.ZodOptional; }, "strict", z.ZodTypeAny, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }, { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; }, { wallets?: { chain_type: "solana" | "ethereum" | "stellar" | "starknet" | "cosmos" | "sui" | "aptos" | "movement" | "tron" | "bitcoin-segwit" | "near" | "ton" | "spark"; policy_ids?: string[] | undefined; additional_signers?: { signer_id: string; override_policy_ids?: string[] | undefined; }[] | undefined; create_smart_wallet?: boolean | undefined; }[] | undefined; }>; interface Route, Response = Record> { path: string; method: string; body?: Body; response?: Response; } type RouteResponse, U = any, V = any> = NonNullable; type PathParam = string | number; /** * PathParams is a recursive type that parses a path string and creates an object type * where each property is a path parameter and its value is a PathParam type. */ type PathParams = T extends `${infer _Start}:${infer Param}/${infer Rest}` ? { [K in Param | keyof PathParams]: PathParam; } : T extends `${infer _Start}:${infer Param}` ? { [K in Param]: PathParam; } : Record; declare const getPathWithParams: (path: string, params?: Record) => string; declare const AnalyticsEvent: Route; declare const AppConfig: Route; declare const CoinbaseOnRampInit: Route; declare const CoinbaseOnRampStatus: Route, PrivyCoinbaseOnRampStatusResponse>; declare const GetCrossAppConnections: Route; declare const CustomJWTAuthenticate: Route; declare const CustomJWTLink: Route; declare const FarcasterInit: Route; declare const FarcasterAuthenticate: Route; declare const FarcasterLink: Route; declare const FarcasterUnlink: Route; declare const FarcasterStatus: Route, PrivyFarcasterConnectStatusCompletedResponse | PrivyFarcasterConnectStatusPendingResponse>; declare const FarcasterV2Init: Route; declare const FarcasterV2Authenticate: Route; declare const FarcasterSignerInit: Route; declare const FarcasterSignerStatus: Route; declare const GuestAuthenticate: Route; declare const MfaPasskeyInit: Route; declare const MfaPasskeyVerify: Route; declare const MfaPasskeyEnrollment: Route; declare const MfaPasswordlessSmsEnroll: Route; declare const MfaPasswordlessSmsVerify: Route; declare const MfaPasswordlessSmsInit: Route; declare const MfaPasswordlessSmsUnenroll: Route, PrivySuccessObject>; declare const MfaTotpEnroll: Route; declare const MfaTotpVerify: Route; declare const MfaTotpInit: Route, ResponseTotpInitMfaType>; declare const MfaTotpUnenroll: Route, PrivySuccessObject>; declare const MfaAuthPasskeyInit: Route; declare const MfaAuthPasskeyVerify: Route; declare const MfaAuthPasskeyEnrollment: Route; declare const MfaAuthTotpEnroll: Route; declare const MfaAuthTotpVerify: Route; declare const MfaAuthTotpInit: Route, ResponseTotpInitMfaType>; declare const MfaAuthTotpUnenroll: Route, PrivySuccessObject>; declare const OAuthAuthenticate: Route; declare const OAuthInit: Route; declare const OAuthLink: Route; declare const OAuthUnlink: Route; declare const OAuthProviderAuthorize: Route>; declare const OAuthProviderVerify: Route<{ prat: string; }, { verified: boolean; }>; declare const PasskeyLink: Route; declare const PasskeyAuthenticate: Route; declare const PasskeyRegister: Route; declare const PasskeyAuthenticateInit: Route; declare const PasskeyRegisterInit: Route; declare const PasskeyLinkInit: Route; declare const PasskeyUnlink: Route; declare const PasswordlessAuthenticate: Route; declare const PasswordlessInit: Route; declare const PasswordlessLink: Route; declare const PasswordlessUnlink: Route; declare const PasswordlessUpdate: Route; declare const PasswordlessSmsAuthenticate: Route; declare const PasswordlessSmsInit: Route; declare const PasswordlessSmsLink: Route; declare const PasswordlessSmsUnlink: Route; declare const PasswordlessSmsUpdate: Route; declare const RecoveryKeyMaterial: Route; declare const RecoveryOAuthInit: Route; declare const RecoveryOAuthAuthenticate: Route; declare const RecoveryOAuthInitICloud: Route; declare const RecoveryOAuthCallbackICloudExpo: Route; declare const RecoveryConfigurationICloud: Route; declare const RefreshSession: Route; declare const Logout: Route; declare const GetSmartWalletConfig: Route; declare const PostSmartWalletConfig: Route; declare const SiweInit: Route; declare const SiweAuthenticate: Route; declare const SiweLink: Route; declare const SiweLinkSmartWallet: Route; declare const SiweUnlink: Route; declare const SiwsInit: Route; declare const SiwsAuthenticate: Route; declare const SiwsLink: Route; declare const SiwsUnlink: Route; declare const AcceptTermsOnUser: Route, PrivyUser>; declare const TelegramAuthenticate: Route; declare const TelegramLink: Route; declare const TelegramUnlink: Route; declare const MoonpayOnRampSign: Route; declare const RefreshUser: Route; declare const WalletsGet: Route; declare const WalletCreate: Route; declare const WalletGet: Route; declare const WalletGetBalance: Route; declare const WalletRpc: Route; declare const WalletRawSign: Route; declare const WalletUpdate: Route; declare const WalletExport: Route; declare const WalletDelegate: Route; declare const WalletsRevoke: Route; declare const WalletGetTransactions: Route; declare const WalletIntentCreate: Route; declare const IntentGet: Route; declare const IntentsList: Route; export { AcceptTermsOnUser, AccountIdFromPath, AdditionalSignerInput, type AdditionalSignerInputType, type AlchemyPaymasterContext, AlchemyPaymasterContextSchema, AnalyticsEvent, AnalyticsEventInput, AppConfig, AppIdFromPath, AppResponseSchema, AppleOauthAccount, AppleOauthIdTokenEntry, Aptos, Asset, AssetAmountDetails, type AssetType, AuthenticateEmailInput, AuthenticateGuestInput, AuthenticateJwtInput, AuthenticateMode, AuthenticateOauthInput, AuthenticatePhoneInput, AuthenticateSiweInput, AuthenticateSiwsInput, AuthenticatedUser, AuthenticationEvent, AuthorizationCodeInput, AuthorizationKeyAccount, AuthorizationKeyDashboardResponse, type AuthorizationKeyDashboardResponseType, AuthorizationKeyResponse, type AuthorizationKeyResponseType, AuthorizationKeyRole, BICONOMY, BalanceFiatCurrency, BaseCondition, BaseTransactionResponse, BaseWalletAccount, BaseWalletApiCreateInput, type BaseWebhookEvent, BitcoinSegwit, BitcoinSegwitEmbeddedWalletAccount, BitcoinTaprootEmbeddedWalletAccount, BridgeBusinessAssociatedPerson, BridgeKycAddress, BridgeKycData, BridgeKycDocument, BridgeKycIdentifyingInformation, BridgeKycInput, BridgeKycLinkResponse, BridgeRegulatedActivity, BridgeTradedListings, CAIP2, COINBASE_SMART_WALLET, CURVE_SIGNING, ChainNameInput, type ChainNameInputType, ChainType, type ChainTypeInternalType, CoinbaseOnRampInit, CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, CoinbaseOnRampStatus, CoinbaseOnRampStatusResponse, Condition, ConditionOperator, ConditionSetIdFromPath, ConditionSetItemIdFromPath, ConditionSetItemResponse, type ConditionSetItemResponseType, type ConditionSetItemsOperationParams, ConditionSetItemsResponse, type ConditionSetItemsResponseType, ConditionSetResponse, type ConditionSetResponseType, type ConditionType, Cosmos, CreateConditionSetInput, type CreateConditionSetInputType, CreateConditionSetItemsInput, type CreateConditionSetItemsInputType, CreateEmbeddedWalletUserImportInput, type CreateEmbeddedWalletUserImportInputType, CreateKeyQuorumInput, type CreateKeyQuorumInputType, CreateWalletInput, type CreateWalletInputType, type CreateWalletInputWithRefinesType, CrossAppAccount, CrossAppConnectionsResponse, CrossAppEmbeddedWallet, CrossAppIdTokenEntry, CrossAppSmartWallet, Currency, type CurveSigningChainType, CurveSigningChainTypes, CurveSigningEmbeddedWalletAccount, CurveSigningLiteral, type CurveSigningLiteralType, CurveType, CustodialWalletCreateInput, type CustodialWalletCreateInputType, CustomJWTAuthenticate, CustomJWTLink, CustomJwtAccount, CustomJwtIdTokenEntry, CustomMetadata, type CustomMetadataType, type CustomOAuthProvider, CustomOAuthProviderID, CustomOauthAccount, DelegatedActionsConsentInput, type DelegatedActionsConsentInputType, DeletePolicyInput, type DeletePolicyInputType, DiscordOauthAccount, DiscordOauthIdTokenEntry, ECDSA, EMBEDDED_WALLET_RECOVERY_TYPES, EdDSA, Email, EmailAccount, EmailIdTokenEntry, type EmbeddedWalletConfig, EmbeddedWalletConfigSchema, EmbeddedWalletCreationInput, EmbeddedWalletCreationInputUnion, type EmbeddedWalletCreationInputUnionType, EmbeddedWalletInputSchema, type EmbeddedWalletRecoveryType, EmptyObject, EncryptedUserSignersAuthenticateResponse, type EncryptedUserSignersAuthenticateResponseType, Ethereum, Ethereum7702AuthorizationCondition, type Ethereum7702AuthorizationConditionType, EthereumAccount, EthereumAsset, EthereumCalldataCondition, type EthereumCalldataConditionType, EthereumEmbeddedWalletAccount, type EthereumSign7702AuthorizationType, EthereumTransactionCondition, type EthereumTransactionConditionType, EthereumTypedDataDomainCondition, type EthereumTypedDataDomainConditionType, EthereumTypedDataMessageCondition, type EthereumTypedDataMessageConditionType, EventType, EventTypes, type ExtendedChainType, ExtendedChainTypes, ExternalOAuthProvider, type ExternalOAuthProviderType, FarcasterAccount, FarcasterAuthenticate, FarcasterAuthenticateInput, FarcasterConnectInitResponse, FarcasterConnectStatusCompletedResponse, FarcasterConnectStatusPendingResponse, FarcasterIdTokenEntry, FarcasterInit, FarcasterInitInput, FarcasterLink, FarcasterLinkInput, FarcasterSignerInit, FarcasterSignerInitInput, FarcasterSignerInitResponse, FarcasterSignerStatus, FarcasterSignerStatusResponse, FarcasterStatus, FarcasterUnlink, FarcasterUnlinkInput, FarcasterV2Authenticate, FarcasterV2AuthenticateInput, FarcasterV2Init, FarcasterV2InitInput, FarcasterV2InitResponse, FiatAccountAddress, FiatAccountIbanData, FiatAccountSwiftData, FiatAccountUsAccountData, FiatCurrency, FiatPaymentRail, type FirstClassChainType, FirstClassChainTypes, type FundingConfig, FundingConfigResponseSchema, type FundingMethod, FundingMethodArraySchema, FundingMethodEnum, FundsTransferEvent, GasSponsorshipConfigurationInputSchema, GasSponsorshipConfigurationResponseSchema, GasSponsorshipConfigurationSchema, GetCrossAppConnections, GetOnrampFiatAccountStatusInput, GetOnrampFiatAccountsResponse, GetOnrampKycStatusInput, GetOnrampKycStatusResponse, GetOnrampTermsOfServiceStatusInput, GetSmartWalletConfig, GithubOauthAccount, GithubOauthIdTokenEntry, GoogleOauthAccount, GoogleOauthIdTokenEntry, GuestAuthenticate, HDPath, HPKEEncryption, Hash, Hex, ImportAppleAccountInput, ImportCustomJwtAccountInput, ImportDiscordAccountInput, ImportEmailAccountInput, ImportFarcasterAccountInput, ImportGithubAccountInput, ImportGoogleAccountInput, type ImportGoogleAccountInputType, ImportInstagramAccountInput, ImportLineAccountInput, ImportLinkedInAccountInput, ImportManyUsersInput, type ImportManyUsersInputType, ImportPhoneAccountInput, ImportSpotifyAccountInput, ImportTelegramAccountInput, ImportTiktokAccountInput, ImportTwitchAccountInput, ImportTwitterAccountInput, type ImportTwitterAccountInputType, ImportUserInput, type ImportUserInputType, ImportWalletAccountInput, type ImportWalletAccountInputType, InitEmailInput, InstagramOauthAccount, InstagramOauthIdTokenEntry, IntentAuthorization, IntentAuthorizationInput, type IntentAuthorizationInputType, IntentAuthorizationMember, type IntentAuthorizationMemberType, type IntentAuthorizationType, IntentAuthorizeInput, type IntentAuthorizeInputType, IntentGet, IntentIdFromPath, type IntentIdFromPathType, IntentListInput, type IntentListInputType, IntentListResponse, type IntentListResponseType, IntentRequestDetails, type IntentRequestDetailsType, IntentResponse, type IntentResponseType, IntentStatus, IntentType, IntentsList, JsonWebKey, JsonWebKeySet, KERNEL, KeyQuorumId, KeyQuorumIdFromPath, type KeyQuorumIdType, KeyQuorumIntentRequestDetails, type KeyQuorumIntentRequestDetailsType, KeyQuorumIntentResponse, type KeyQuorumIntentResponseType, KeyQuorumResponse, type KeyQuorumResponseType, KrakenEmbedEvent, type KrakenEmbedVerificationCompletedEvent, type KrakenEmbedVerificationCompletedEventPayload, LIGHT_ACCOUNT, LineOauthAccount, LineOauthIdTokenEntry, LinkJwtInput, LinkOAuthInput, LinkedAccount, LinkedAccountInput, type LinkedAccountInputType, type LinkedAccountsIdTokenEntry, type LinkedAccountsInputType, LinkedInOauthAccount, LinkedInOauthIdTokenEntry, LinkedMfaMethod, ListFiatTransactionsInput, ListFiatTransactionsResponse, LoggedOutUser, Logout, MaybeUser, MfaAuthPasskeyEnrollment, MfaAuthPasskeyInit, MfaAuthPasskeyVerify, MfaAuthTotpEnroll, MfaAuthTotpInit, MfaAuthTotpUnenroll, MfaAuthTotpVerify, type MfaDisabledEvent, type MfaDisabledEventPayload, type MfaEnabledEvent, type MfaEnabledEventPayload, MfaEnrollmentPasskeyInput, MfaEvent, MfaPasskeyEnrollment, MfaPasskeyInit, MfaPasskeyInitInput, type MfaPasskeyInitInputType, MfaPasskeyVerify, MfaPasskeyVerifyInput, type MfaPasskeyVerifyInputType, MfaPasswordlessSmsEnroll, MfaPasswordlessSmsInit, MfaPasswordlessSmsUnenroll, MfaPasswordlessSmsVerify, MfaSmsAuthenticateEnrollInput, type MfaSmsAuthenticateEnrollInputType, MfaSmsEnrollInput, type MfaSmsEnrollInputType, MfaSmsInitInput, type MfaSmsInitInputType, MfaSmsVerifyInput, type MfaSmsVerifyInputType, MfaTotpEnroll, MfaTotpInit, MfaTotpInput, type MfaTotpInputType, MfaTotpUnenroll, MfaTotpVerify, MfaVerifyResponse, type MfaVerifyResponseType, MoonpayOnRampSign, MoonpayOnRampSignInput, MoonpayOnRampSignResponse, Movement, Near, OAuthAuthenticate, OAuthAuthenticateRecoveryResponse, OAuthCallbackICloudExpoInput, OAuthCallbackICloudExpoResponse, OAuthInit, OAuthInitICloudRecoveryInput, OAuthInitInput, OAuthInitRecoveryInput, OAuthInitResponse, OAuthLink, OAuthLinkResponse, OAuthProvider, OAuthProviderAuthorize, type OAuthProviderType, OAuthProviderVerify, OAuthTokens, OAuthUnlink, OAuthUnlinkInput, OfframpInput, OfframpResponse, OnrampAsset, OnrampChain, OnrampFiatAccountInput, OnrampFiatAccountResponse, OnrampInput, OnrampKycInput, OnrampKycResponse, OnrampKycStatus, OnrampProvider, OnrampResponse, OnrampTermsOfServiceStatusResponse, OnrampTransferStatus, OptionalRefreshTokenInput, OutputWithPreviousTransactionData, OwnerInput, OwnerInputFields, type OwnerInputType, P256PublicKey, Pagination, PasskeyAccount, PasskeyAuthenticate, PasskeyAuthenticateInit, PasskeyAuthenticateInput, type PasskeyAuthenticateInputType, PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentOptionsType, PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorEnrollmentResponseType, PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyOptionsType, PasskeyAuthenticatorVerifyResponse, type PasskeyAuthenticatorVerifyResponseType, PasskeyIdTokenEntry, PasskeyInitInput, type PasskeyInitInputType, PasskeyLink, PasskeyLinkInit, PasskeyLinkInput, type PasskeyLinkInputType, PasskeyMfaMethod, PasskeyRegister, PasskeyRegisterInit, PasskeyRegisterInput, type PasskeyRegisterInputType, PasskeyUnlink, PasswordlessAuthenticate, PasswordlessCode, PasswordlessInit, PasswordlessLink, PasswordlessSmsAuthenticate, PasswordlessSmsInit, PasswordlessSmsLink, PasswordlessSmsPhoneInput, PasswordlessSmsUnlink, PasswordlessSmsUpdate, PasswordlessUnlink, PasswordlessUpdate, type PathParams, PhoneAccount, PhoneIdTokenEntry, PhoneNumber, PolicyAction, type PolicyActionType, PolicyIdFromPath, PolicyInput, PolicyIntentRequestDetails, type PolicyIntentRequestDetailsType, PolicyIntentResponse, type PolicyIntentResponseType, type PolicyMethodType, PolicyResponse, type PolicyResponseType, type PolicyType, PolicyWithoutValidation, PostSmartWalletConfig, type Prettify, type PrivateKeyExportEvent, type PrivateKeyExportEventPayload, PrivateKeyExportInput, type PrivateKeyExportInputType, PrivateKeyExportResponse, type PrivateKeyExportResponseType, PrivateKeyExportedEvent, type PrivyAnalyticsEventInput, type PrivyAppResponse, type PrivyAppleOauthAccount, type PrivyAppleOauthIdTokenEntry, type PrivyAuthenticateEmailInput, type PrivyAuthenticateGuestInput, type PrivyAuthenticateJwtInput, type PrivyAuthenticateOauthInput, type PrivyAuthenticatePhoneInput, type PrivyAuthenticateSiweInput, type PrivyAuthenticateSiwsInput, type PrivyAuthenticatedUser, type PrivyBaseWalletAccount, type PrivyBitcoinSegwitEmbeddedWalletAccount, type PrivyBitcoinTaprootEmbeddedWalletAccount, type PrivyCoinbaseOnRampInitInput, type PrivyCoinbaseOnRampInitResponse, type PrivyCoinbaseOnRampStatusResponse, type PrivyCrossAppConnectionsResponse, type PrivyCrossAppIdTokenEntry, type PrivyCrossAppWalletAccount, type PrivyCurveSigningEmbeddedWalletAccount, type PrivyCustomJwtAccount, type PrivyCustomJwtIdTokenEntry, type PrivyCustomOauthAccount, type PrivyDiscordOauthAccount, type PrivyDiscordOauthIdTokenEntry, type PrivyEmailAccount, type PrivyEmailIdTokenEntry, type PrivyEmbeddedWalletAccount, type PrivyEmptyObject, type PrivyEthereumAccount, type PrivyEthereumEmbeddedWalletAccount, type PrivyFarcasterAccount, type PrivyFarcasterAuthenticateInput, type PrivyFarcasterConnectInitResponse, type PrivyFarcasterConnectStatusCompletedResponse, type PrivyFarcasterConnectStatusPendingResponse, type PrivyFarcasterIdTokenEntry, type PrivyFarcasterInitInput, type PrivyFarcasterLinkInput, type PrivyFarcasterReactToCastResponse, type PrivyFarcasterRemoveCastResponse, type PrivyFarcasterRemoveLinkResponse, type PrivyFarcasterSignerInitInput, type PrivyFarcasterSignerInitResponse, type PrivyFarcasterSignerStatusResponse, type PrivyFarcasterSubmitCastResponse, type PrivyFarcasterSubmitLinkResponse, type PrivyFarcasterUnlinkInput, type PrivyFarcasterV2AuthenticateInput, type PrivyFarcasterV2InitInput, type PrivyFarcasterV2InitResponse, type PrivyGasSponsorshipConfigurationInput, type PrivyGasSponsorshipConfigurationResponse, type PrivyGithubOauthAccount, type PrivyGithubOauthIdTokenEntry, type PrivyGoogleOauthAccount, type PrivyGoogleOauthIdTokenEntry, type PrivyInitEmailInput, type PrivyInstagramOauthAccount, type PrivyInstagramOauthIdTokenEntry, type PrivyLineOauthAccount, type PrivyLineOauthIdTokenEntry, type PrivyLinkJwtInput, type PrivyLinkOAuthInput, type PrivyLinkPhoneInput, type PrivyLinkedAccount, type PrivyLinkedInOauthAccount, type PrivyLinkedInOauthIdTokenEntry, type PrivyLoggedOutUser, type PrivyMfaEnrollmentPasskeyInputType, type PrivyMoonpayOnRampSignInput, type PrivyMoonpayOnRampSignResponse, type PrivyOAuthAuthenticateRecoveryResponse, type PrivyOAuthCallbackICloudExpoInput, type PrivyOAuthCallbackICloudExpoResponse, type PrivyOAuthInitICloudRecoveryInput, type PrivyOAuthInitInput, type PrivyOAuthInitRecoveryInput, type PrivyOAuthInitResponse, type PrivyOAuthLinkResponse, type PrivyOAuthProvider, type PrivyOAuthUnlinkInput, type PrivyOptionalRefreshTokenInput, type PrivyPasskeyAccount, type PrivyPasskeyIdTokenEntry, type PrivyPasskeyMfaMethod, type PrivyPhoneAccount, type PrivyPhoneIdTokenEntry, type PrivyRecoveryConfigurationICloudInput, type PrivyRecoveryConfigurationICloudResponse, type PrivyRecoveryKeyMaterialInput, type PrivyRecoveryKeyMaterialResponse, type PrivyRefreshTokenInput, type PrivyServerSideUnlinkEmailInput, type PrivyServerSideUpdateEmailInput, type PrivyServerSideVerifyEmailInput, type PrivySignerAccount, type PrivySiweAddressInput, type PrivySiweInitInput, type PrivySiweInput, type PrivySiweNonce, type PrivySiwsAddressInput, type PrivySiwsInitInput, type PrivySiwsInput, type PrivySiwsNonce, type PrivySmartWalletAccount, type PrivySmartWalletConfigurationInput, type PrivySmartWalletConfigurationResponse, type PrivySmartWalletIdTokenEntry, type PrivySmartWalletSiweInput, type PrivySmsMfaMethod, type PrivySolanaAccount, type PrivySolanaEmbeddedWalletAccount, type PrivySpotifyOauthAccount, type PrivySpotifyOauthIdTokenEntry, type PrivySuccessObject, type PrivyTelegramAccount, type PrivyTelegramAuthenticateInput, type PrivyTelegramIdTokenEntry, type PrivyTelegramLinkInput, type PrivyTelegramUnlinkInput, type PrivyTiktokOauthAccount, type PrivyTiktokOauthIdTokenEntry, type PrivyTotpMfaMethod, PrivyTransactionResponseWithDetails, type PrivyTransactionResponseWithDetailsType, type PrivyTransactionScanningInputType, type PrivyTransactionScanningResponseAssetDiffType, type PrivyTransactionScanningResponseAssetInfoType, type PrivyTransactionScanningResponseExposureType, type PrivyTransactionScanningResponseParamsType, type PrivyTransactionScanningResponseSimulationResult, type PrivyTransactionScanningResponseType, type PrivyTransactionScanningResponseValidationResult, type PrivyTransferEmailInput, type PrivyTransferFarcasterInput, type PrivyTransferPhoneInput, type PrivyTransferSiweInput, type PrivyTransferSiwsInput, type PrivyTransferTelegramInput, type PrivyTwitchOauthAccount, type PrivyTwitchOauthIdTokenEntry, type PrivyTwitterOauthAccount, type PrivyTwitterOauthIdTokenEntry, type PrivyUnifiedWalletAccount, type PrivyUnlinkEmailInput, type PrivyUnlinkPasskeyInput, type PrivyUnlinkPhoneInput, type PrivyUpdateEmailInput, type PrivyUpdatePhoneInput, type PrivyUser, type PrivyUserWithIdentityToken, type PrivyVerifyEmailInput, type PrivyVerifyPhoneInput, type PrivyWalletIdTokenEntry, Quantity, type QuantityType, RawUserSignersAuthenticateResponse, type RawUserSignersAuthenticateResponseType, RecoveryConfigurationICloud, RecoveryConfigurationICloudInput, RecoveryConfigurationICloudResponse, RecoveryKeyMaterial, RecoveryKeyMaterialInput, RecoveryKeyMaterialResponse, RecoveryOAuthAuthenticate, RecoveryOAuthCallbackICloudExpo, RecoveryOAuthInit, RecoveryOAuthInitICloud, RefreshSession, RefreshTokenInput, RefreshUser, ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitAuthenticateType, ResponsePasskeyInitLink, type ResponsePasskeyInitLinkType, ResponsePasskeyInitMfa, type ResponsePasskeyInitMfaType, ResponsePasskeyInitRegister, type ResponsePasskeyInitRegisterType, ResponseTotpInitMfa, type ResponseTotpInitMfaType, type Route, type RouteResponse, RpcIntentRequestDetails, type RpcIntentRequestDetailsType, RpcIntentResponse, type RpcIntentResponseType, Rule, RuleIdAndPolicyIdFromPath, RuleInput, type RuleInputType, RuleResponse, type RuleResponseType, type RuleType, SAFE, SUPPORTED_OAUTH_PROVIDERS, SUPPORTED_SMART_WALLET_TYPES, ServerSidePasskeyInitLinkInput, type ServerSidePasskeyInitLinkInputType, ServerSidePasskeyLinkInput, type ServerSidePasskeyLinkInputType, ServerSideUnlinkEmailInput, ServerSideUnlinkPasskeyInput, type ServerSideUnlinkPasskeyInputType, ServerSideUpdateEmailInput, ServerSideVerifyEmailInput, type SessionUpdateAction, SessionUpdateActionEnum, SigningAlgorithm, SiweAddressInput, SiweAuthenticate, SiweInit, SiweInitInput, SiweInput, SiweLink, SiweLinkSmartWallet, SiweNonce, SiweUnlink, SiwsAddressInput, SiwsAuthenticate, SiwsInit, SiwsInitInput, SiwsInput, SiwsLink, SiwsNonce, SiwsUnlink, SmartWalletAccount, SmartWalletConfigurationInputSchema, SmartWalletConfigurationResponseSchema, SmartWalletConfigurationSchema, SmartWalletIdTokenEntry, type SmartWalletNetworkConfigurationInput, SmartWalletNetworkConfigurationInputSchema, SmartWalletProvider, SmartWalletSiweInput, type SmartWalletType, SmsMfaMethod, Solana, SolanaAccount, SolanaAsset, SolanaEmbeddedWalletAccount, SolanaProgramInstruction, type SolanaProgramInstructionType, SolanaSystemProgramInstruction, type SolanaSystemProgramInstructionType, SolanaTokenProgramInstruction, type SolanaTokenProgramInstructionType, SolanaWalletAddress, SolanaWalletDerivationStrategy, Spark, SparkBalance, SparkLightningReceiveRequest, SparkLightningSendRequest, SparkNetwork, type SparkNetworkType, SparkSigningKeyshare, SparkTokenBalance, SparkTransfer, SparkTransferLeaf, SparkUserTokenMetadata, SparkWalletLeaf, SpotifyOauthAccount, SpotifyOauthIdTokenEntry, Starknet, Stellar, SuccessObject, Sui, type SupportedChainType, SystemCondition, type SystemConditionType, THIRDWEB, TelegramAccount, TelegramAuthConfigSchema, TelegramAuthResult, type TelegramAuthResultType, type TelegramAuthWebDataType, TelegramAuthenticate, TelegramAuthenticateInput, TelegramIdTokenEntry, TelegramLink, TelegramLinkInput, TelegramUnlink, TelegramUnlinkInput, TelegramWebAppData, TestAccountIdFromPath, TiktokOauthAccount, TiktokOauthIdTokenEntry, Ton, TotpMfaMethod, type TransactionBroadcastedEvent, type TransactionConfirmedEvent, TransactionDetail, type TransactionDetailType, TransactionEvent, type TransactionExecutionRevertedEvent, type TransactionFailedEvent, TransactionIdFromPath, type TransactionReplacedEvent, TransactionResponse, type TransactionResponseType, TransactionResponseWithDetails, TransactionScanningInput, TransactionScanningResponse, type TransactionScanningResponseAssetValueType, TransactionStatus, type TransactionStillPendingEvent, TransferEmailInput, TransferFarcasterInput, TransferOAuthInput, TransferPhoneInput, TransferReceivedTransactionDetail, TransferSentTransactionDetail, TransferSiweInput, TransferSiwsInput, TransferTelegramInput, Tron, TwitchOauthAccount, TwitchOauthIdTokenEntry, TwitterOauthAccount, TwitterOauthIdTokenEntry, TypedDataDomainInputParams, type TypedDataDomainInputParamsType, TypedDataTypesInputParams, type TypedDataTypesInputParamsType, UnifiedWalletAccount, UnlinkEmailInput, UnlinkPasskeyInput, UnlinkPhoneInput, UnsignedEthereumTransaction, type UnsignedEthereumTransactionType, UpdateConditionSetInput, type UpdateConditionSetInputType, UpdateConditionSetItemsInput, type UpdateConditionSetItemsInputType, UpdateEmailInput, UpdateKeyQuorumInput, type UpdateKeyQuorumInputType, UpdatePhoneInput, UpdatePolicyInput, type UpdatePolicyInputType, UpdatePolicyInputWithoutValidation, User, type UserAuthenticatedEvent, type UserCreatedEvent, UserId, type UserLinkedAccountEvent, UserSignersAuthenticateInput, type UserSignersAuthenticateInputType, UserSignersAuthenticateResponse, type UserSignersAuthenticateResponseType, type UserTransferredAccountEvent, type UserUnlinkedAccountEvent, type UserUpdatedAccountEvent, type UserWalletCreatedEvent, UserWithIdentityToken, VerifyEmailInput, VerifyPhoneInput, WalletAddress, WalletApiClaimStaticDepositRpcInput, type WalletApiClaimStaticDepositRpcInputType, WalletApiClaimStaticDepositRpcResponse, type WalletApiClaimStaticDepositRpcResponseType, WalletApiCreateInput, type WalletApiCreateInputType, WalletApiCreateLightningInvoiceRpcInput, type WalletApiCreateLightningInvoiceRpcInputType, WalletApiCreateLightningInvoiceRpcResponse, type WalletApiCreateLightningInvoiceRpcResponseType, WalletApiCreateResponse, type WalletApiCreateResponseType, WalletApiEthereumPersonalSignRpcInput, WalletApiEthereumPersonalSignRpcInputParams, type WalletApiEthereumPersonalSignRpcInputParamsType, WalletApiEthereumPersonalSignRpcResponse, type WalletApiEthereumPersonalSignRpcResponseType, WalletApiEthereumRpcInput, WalletApiEthereumSecp256k1SignRpcInput, WalletApiEthereumSecp256k1SignRpcResponse, type WalletApiEthereumSecp256k1SignRpcResponseType, WalletApiEthereumSendTransactionRpcInput, type WalletApiEthereumSendTransactionRpcInputType, WalletApiEthereumSendTransactionRpcResponse, type WalletApiEthereumSendTransactionRpcResponseType, WalletApiEthereumSign7702AuthorizationRpcInput, type WalletApiEthereumSign7702AuthorizationRpcInputType, WalletApiEthereumSign7702AuthorizationRpcResponse, type WalletApiEthereumSign7702AuthorizationRpcResponseType, WalletApiEthereumSignTransactionRpcInput, WalletApiEthereumSignTransactionRpcResponse, type WalletApiEthereumSignTransactionRpcResponseType, WalletApiEthereumSignTypedDataRpcInput, WalletApiEthereumSignTypedDataRpcResponse, type WalletApiEthereumSignTypedDataRpcResponseType, WalletApiExportPrivateKeyRpcInput, type WalletApiExportPrivateKeyRpcInputType, WalletApiExportPrivateKeyRpcResponse, type WalletApiExportPrivateKeyRpcResponseType, WalletApiGetBalanceRpcInput, type WalletApiGetBalanceRpcInputType, WalletApiGetBalanceRpcResponse, type WalletApiGetBalanceRpcResponseType, WalletApiGetClaimStaticDepositQuoteRpcInput, type WalletApiGetClaimStaticDepositQuoteRpcInputType, WalletApiGetClaimStaticDepositQuoteRpcResponse, type WalletApiGetClaimStaticDepositQuoteRpcResponseType, WalletApiGetStaticDepositAddressRpcInput, type WalletApiGetStaticDepositAddressRpcInputType, WalletApiGetStaticDepositAddressRpcResponse, type WalletApiGetStaticDepositAddressRpcResponseType, WalletApiPayLightningInvoiceRpcInput, type WalletApiPayLightningInvoiceRpcInputType, WalletApiPayLightningInvoiceRpcResponse, type WalletApiPayLightningInvoiceRpcResponseType, WalletApiRawSignInput, type WalletApiRawSignInputType, WalletApiRawSignResponse, type WalletApiRawSignResponseType, WalletApiRegisterAuthorizationKeyInput, type WalletApiRegisterAuthorizationKeyInputType, WalletApiRevokeAuthorizationKeyInput, WalletApiRevokeResponse, type WalletApiRevokeResponseType, WalletApiRpcInput, type WalletApiRpcInputType, WalletApiRpcResponse, type WalletApiRpcResponseType, WalletApiSignMessageWithIdentityKeyRpcInput, type WalletApiSignMessageWithIdentityKeyRpcInputType, WalletApiSignMessageWithIdentityKeyRpcResponse, type WalletApiSignMessageWithIdentityKeyRpcResponseType, WalletApiSolanaRpcInput, WalletApiSolanaSignAndSendTransactionRpcInput, type WalletApiSolanaSignAndSendTransactionRpcInputType, WalletApiSolanaSignAndSendTransactionRpcResponse, type WalletApiSolanaSignAndSendTransactionRpcResponseType, WalletApiSolanaSignMessageRpcInput, WalletApiSolanaSignMessageRpcResponse, type WalletApiSolanaSignMessageRpcResponseType, WalletApiSolanaSignTransactionRpcInput, WalletApiSolanaSignTransactionRpcResponse, type WalletApiSolanaSignTransactionRpcResponseType, WalletApiSparkRpcInput, WalletApiTransferRpcInput, type WalletApiTransferRpcInputType, WalletApiTransferRpcResponse, type WalletApiTransferRpcResponseType, WalletApiTransferTokensRpcInput, type WalletApiTransferTokensRpcInputType, WalletApiTransferTokensRpcResponse, type WalletApiTransferTokensRpcResponseType, WalletCreate, WalletCreateUserInput, type WalletCreateUserInputType, WalletCreateUserInputWithoutUserId, type WalletCreateUserInputWithoutUserIdType, WalletCreationInput, type WalletCreationInputType, WalletDelegate, type WalletDepositEvent, type WalletDepositEventPayload, WalletEntropyType, WalletExport, WalletGet, WalletGetBalance, WalletGetBalanceInput, WalletGetBalanceResponse, type WalletGetBalanceResponseType, WalletGetTransactions, WalletGetTransactionsInput, type WalletGetTransactionsInputType, WalletGetTransactionsResponse, type WalletGetTransactionsResponseType, WalletIdFromPath, type WalletIdFromPathType, WalletIdTokenEntry, WalletImportInitInput, type WalletImportInitInputType, WalletImportInitResponse, type WalletImportInitResponseType, WalletImportSubmitInput, type WalletImportSubmitInputType, WalletImportSupportedChains, WalletImportSupportedEntropyTypes, WalletIntentCreate, WalletIntentRequestDetails, type WalletIntentRequestDetailsType, WalletIntentResponse, type WalletIntentResponseType, WalletRawSign, type WalletRecoveredEvent, type WalletRecoveredEventPayload, type WalletRecoverySetupEvent, type WalletRecoverySetupEventPayload, WalletResponse, type WalletResponseType, WalletRpc, WalletUpdate, WalletUpdateInput, type WalletUpdateInputType, type WalletWithdrawalEvent, type WalletWithdrawalEventPayload, WalletsGet, type WalletsResponseType, WalletsRevoke, WalletsSearchInput, type WalletsSearchInputType, WalletsWithRecoveryRequest, type WalletsWithRecoveryRequestType, WalletsWithRecoveryResponse, type WalletsWithRecoveryResponseType, createIntentUrlPattern, getPathWithParams, isValidAddress, normalizeEthereumAddress, normalizePhoneNumber };