import { InvokeFunctionResponse, Signature } from 'starknet'; import { z } from 'zod'; export declare const BigNumberishSchema: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodEffects, string, string>, z.ZodNumber, z.ZodBigInt]>; export declare const CallSchema: z.ZodObject<{ contractAddress: z.ZodString; entrypoint: z.ZodString; calldata: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>; export declare const CallsArraySchema: z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>, "atleastone">; export declare const typedDataSchema: z.ZodObject<{ types: z.ZodRecord; contains: z.ZodString; }, "strip", z.ZodTypeAny, { type: "merkletree"; name: string; contains: string; }, { type: "merkletree"; name: string; contains: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"enum">; contains: z.ZodString; }, "strip", z.ZodTypeAny, { type: "enum"; name: string; contains: string; }, { type: "enum"; name: string; contains: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; name: string; }, { type: string; name: string; }>]>, "many">>; primaryType: z.ZodString; domain: z.ZodRecord; message: z.ZodUnion<[z.ZodRecord, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>; }, "strip", z.ZodTypeAny, { types: Record; primaryType: string; domain: Record; message: Record | {}; }, { types: Record; primaryType: string; domain: Record; message: Record | {}; }>; export declare const AssetSchema: z.ZodObject<{ type: z.ZodLiteral<"ERC20">; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>; export declare const AddStarknetChainParametersSchema: z.ZodUnion<[z.ZodObject<{ id: z.ZodString; chain_id: z.ZodString; chain_name: z.ZodString; rpc_urls: z.ZodOptional>; native_currency: z.ZodOptional; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>>; block_explorer_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; chain_id: string; chain_name: string; rpc_urls?: string[] | undefined; block_explorer_url?: string[] | undefined; native_currency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; }, { id: string; chain_id: string; chain_name: string; rpc_urls?: string[] | undefined; block_explorer_url?: string[] | undefined; native_currency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; }>, z.ZodEffects>; nativeCurrency: z.ZodOptional; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>>; blockExplorerUrl: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }>, { id: string; chain_id: string; chain_name: string; rpc_urls: string[] | undefined; native_currency: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; block_explorer_url: string[] | undefined; }, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }>]>; export declare const StarknetMethodArgumentsSchemas: { readonly enable: z.ZodUnion<[z.ZodTuple<[z.ZodOptional, z.ZodLiteral<"v4">, z.ZodLiteral<"v5">]>>; }, "strip", z.ZodTypeAny, { starknetVersion?: "v3" | "v4" | "v5" | undefined; }, { starknetVersion?: "v3" | "v4" | "v5" | undefined; }>>], null>, z.ZodTuple<[], null>]>; readonly addStarknetChain: z.ZodTuple<[z.ZodUnion<[z.ZodObject<{ id: z.ZodString; chain_id: z.ZodString; chain_name: z.ZodString; rpc_urls: z.ZodOptional>; native_currency: z.ZodOptional; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>>; block_explorer_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; chain_id: string; chain_name: string; rpc_urls?: string[] | undefined; block_explorer_url?: string[] | undefined; native_currency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; }, { id: string; chain_id: string; chain_name: string; rpc_urls?: string[] | undefined; block_explorer_url?: string[] | undefined; native_currency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; }>, z.ZodEffects>; nativeCurrency: z.ZodOptional; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>>; blockExplorerUrl: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }>, { id: string; chain_id: string; chain_name: string; rpc_urls: string[] | undefined; native_currency: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; block_explorer_url: string[] | undefined; }, { id: string; chainId: string; chainName: string; rpcUrls?: string[] | undefined; nativeCurrency?: { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; } | undefined; blockExplorerUrl?: string[] | undefined; }>]>], null>; readonly switchStarknetChain: z.ZodTuple<[z.ZodObject<{ chainId: z.ZodString; }, "strip", z.ZodTypeAny, { chainId: string; }, { chainId: string; }>], null>; readonly watchAsset: z.ZodTuple<[z.ZodObject<{ type: z.ZodLiteral<"ERC20">; options: z.ZodObject<{ address: z.ZodString; symbol: z.ZodOptional; decimals: z.ZodOptional; image: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }, { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }, { type: "ERC20"; options: { address: string; symbol?: string | undefined; image?: string | undefined; name?: string | undefined; decimals?: number | undefined; }; }>], null>; readonly requestAccounts: z.ZodTuple<[z.ZodObject<{ silent_mode: z.ZodOptional; }, "strip", z.ZodTypeAny, { silent_mode?: boolean | undefined; }, { silent_mode?: boolean | undefined; }>], null>; readonly execute: z.ZodTuple<[z.ZodUnion<[z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>, "atleastone">, z.ZodObject<{ contractAddress: z.ZodString; entrypoint: z.ZodString; calldata: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>]>, z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; maxFee: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; version: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; }, "strip", z.ZodTypeAny, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }>>], null>; readonly signMessage: z.ZodTuple<[z.ZodObject<{ types: z.ZodRecord; contains: z.ZodString; }, "strip", z.ZodTypeAny, { type: "merkletree"; name: string; contains: string; }, { type: "merkletree"; name: string; contains: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"enum">; contains: z.ZodString; }, "strip", z.ZodTypeAny, { type: "enum"; name: string; contains: string; }, { type: "enum"; name: string; contains: string; }>, z.ZodObject<{ name: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; name: string; }, { type: string; name: string; }>]>, "many">>; primaryType: z.ZodString; domain: z.ZodRecord; message: z.ZodUnion<[z.ZodRecord, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>; }, "strip", z.ZodTypeAny, { types: Record; primaryType: string; domain: Record; message: Record | {}; }, { types: Record; primaryType: string; domain: Record; message: Record | {}; }>], null>; }; export type StarknetMethods = { enable: (...args: z.infer) => Promise; addStarknetChain: (...args: z.infer) => Promise; switchStarknetChain: (...args: z.infer) => Promise; watchAsset: (...args: z.infer) => Promise; requestAccounts: (...args: z.infer) => Promise; execute: (...args: z.infer) => Promise; signMessage: (...args: z.infer) => Promise; getLoginStatus: () => Promise<{ isLoggedIn: false; } | { isLoggedIn: true; hasSession: boolean; isPreauthorized: boolean; }>; }; export declare const StarknetExecuteBackwardCompatibleArgumentsSchemas: { readonly execute: z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>, "atleastone">, z.ZodObject<{ contractAddress: z.ZodString; entrypoint: z.ZodString; calldata: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>]>, z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; maxFee: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; version: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; }, "strip", z.ZodTypeAny, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }>>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>, "atleastone">, z.ZodObject<{ contractAddress: z.ZodString; entrypoint: z.ZodString; calldata: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>, z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">]>, "many">>; }, "strip", z.ZodTypeAny, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }, { contractAddress: string; entrypoint: string; calldata?: (string | number | bigint | (string | number | bigint)[])[] | undefined; }>]>, z.ZodOptional>, z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; maxFee: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; version: z.ZodOptional, string, string>, z.ZodNumber, z.ZodBigInt]>>; }, "strip", z.ZodTypeAny, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }, { nonce?: string | number | bigint | undefined; version?: string | number | bigint | undefined; maxFee?: string | number | bigint | undefined; }>>], null>]>; }; export type StarknetExecuteBackwardCompatibleMethods = { execute: (...args: z.infer) => Promise; }; export type ConnectMethods = { connect: () => void; }; export type ModalMethods = { shouldShow: () => void; shouldHide: () => void; heightChanged: (height: number) => void; }; export type WebWalletMethods = ConnectMethods & ModalMethods; export type IframeMethods = { connect: () => void; }; export declare const RpcCallSchema: z.ZodEffects, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">>; }, "strip", z.ZodTypeAny, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }>, { contractAddress: string; entrypoint: string; calldata: (string | number | bigint)[]; }, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }>; export declare const RpcCallsArraySchema: z.ZodArray, string, string>, z.ZodNumber, z.ZodBigInt]>, "many">>; }, "strip", z.ZodTypeAny, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }>, { contractAddress: string; entrypoint: string; calldata: (string | number | bigint)[]; }, { contract_address: string; entry_point: string; calldata?: (string | number | bigint)[] | undefined; }>, "atleastone">; export declare const deployAccountContractSchema: z.ZodObject<{ address: z.ZodString; class_hash: z.ZodString; salt: z.ZodString; calldata: z.ZodArray; sigdata: z.ZodOptional>; version: z.ZodNativeEnum<{ readonly ZERO: 0; readonly ONE: 1; }>; }, "strip", z.ZodTypeAny, { class_hash: string; version: 0 | 1; salt: string; calldata: string[]; address: string; sigdata?: string[] | undefined; }, { class_hash: string; version: 0 | 1; salt: string; calldata: string[]; address: string; sigdata?: string[] | undefined; }>;