@aa-simulator/btc-connectkit
Version:
First Account Abstraction Protocol on Bitcoin
414 lines (413 loc) • 31 kB
TypeScript
import type { SendTransactionParams, Transaction, UserOpBundle, UserOpParams } from '@aa-simulator/core';
import { EthereumProvider } from '../evmSigner/provider';
export declare const useETHProvider: () => {
provider: EthereumProvider;
/** @deprecated please use account */
evmAccount: string | undefined;
account: string | undefined;
getSmartAccountInfo: () => Promise<import("../types/accountInfo").AccountInfo | undefined>;
switchChain: (chainId: number) => Promise<void>;
chainId: number | undefined;
buildUserOp: ({ tx }: Omit<UserOpParams, 'btcPubKey'>) => Promise<Omit<UserOpBundle, "userOpHash">>;
sendUserOp: (params: SendTransactionParams, retryCount?: number, maxRetries?: number) => Promise<string>;
sendTransactions: (txs: Transaction | Transaction[], forceHideConfirmModal?: boolean) => void;
publicClient: {
account: undefined;
batch?: {
multicall?: boolean | {
batchSize?: number | undefined;
wait?: number | undefined;
} | undefined;
} | undefined;
cacheTime: number;
chain: import("viem").Chain | undefined;
key: string;
name: string;
pollingInterval: number;
request: import("viem").EIP1193RequestFn<import("viem").PublicRpcSchema>;
transport: import("viem").TransportConfig<string, import("viem").EIP1193RequestFn> & Record<string, any>;
type: string;
uid: string;
call: (parameters: import("viem").CallParameters<import("viem").Chain | undefined>) => Promise<import("viem").CallReturnType>;
createBlockFilter: () => Promise<{
id: `0x${string}`;
request: import("viem").EIP1193RequestFn<readonly [{
Method: "eth_getFilterChanges";
Parameters: [filterId: `0x${string}`];
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
}, {
Method: "eth_getFilterLogs";
Parameters: [filterId: `0x${string}`];
ReturnType: import("viem").RpcLog[];
}, {
Method: "eth_uninstallFilter";
Parameters: [filterId: `0x${string}`];
ReturnType: boolean;
}]>;
type: "block";
}>;
createContractEventFilter: <const TAbi extends readonly unknown[] | import("viem").Abi, TEventName extends import("viem").ContractEventName<TAbi> | undefined, TArgs extends import("viem/_types/types/contract").MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends bigint | import("viem").BlockTag | undefined = undefined, TToBlock extends bigint | import("viem").BlockTag | undefined = undefined>(args: import("viem").CreateContractEventFilterParameters<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>) => Promise<import("viem").CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>>;
createEventFilter: <const TAbiEvent extends import("abitype").AbiEvent | undefined = undefined, const TAbiEvents extends readonly unknown[] | readonly import("abitype").AbiEvent[] | undefined = TAbiEvent extends import("abitype").AbiEvent ? [TAbiEvent] : undefined, TStrict_1 extends boolean | undefined = undefined, TFromBlock_1 extends bigint | import("viem").BlockTag | undefined = undefined, TToBlock_1 extends bigint | import("viem").BlockTag | undefined = undefined, _EventName extends string | undefined = import("viem/_types/types/contract").MaybeAbiEventName<TAbiEvent>, _Args extends import("viem/_types/types/contract").MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> | undefined = undefined>(args?: import("viem").CreateEventFilterParameters<TAbiEvent, TAbiEvents, TStrict_1, TFromBlock_1, TToBlock_1, _EventName, _Args> | undefined) => Promise<import("viem").Filter<"event", TAbiEvents, _EventName, _Args, TStrict_1, TFromBlock_1, TToBlock_1> extends infer T ? { [K in keyof T]: import("viem").Filter<"event", TAbiEvents, _EventName, _Args, TStrict_1, TFromBlock_1, TToBlock_1>[K]; } : never>;
createPendingTransactionFilter: () => Promise<{
id: `0x${string}`;
request: import("viem").EIP1193RequestFn<readonly [{
Method: "eth_getFilterChanges";
Parameters: [filterId: `0x${string}`];
ReturnType: `0x${string}`[] | import("viem").RpcLog[];
}, {
Method: "eth_getFilterLogs";
Parameters: [filterId: `0x${string}`];
ReturnType: import("viem").RpcLog[];
}, {
Method: "eth_uninstallFilter";
Parameters: [filterId: `0x${string}`];
ReturnType: boolean;
}]>;
type: "transaction";
}>;
estimateContractGas: <TChain extends import("viem").Chain | undefined, const abi extends readonly unknown[] | import("viem").Abi, functionName extends import("viem").ContractFunctionName<abi, "nonpayable" | "payable">, args extends import("viem").ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: import("viem").EstimateContractGasParameters<abi, functionName, args, TChain>) => Promise<bigint>;
estimateGas: (args: import("viem").EstimateGasParameters<import("viem").Chain | undefined>) => Promise<bigint>;
getBalance: (args: import("viem").GetBalanceParameters) => Promise<bigint>;
getBlock: <TIncludeTransactions extends boolean = false, TBlockTag extends import("viem").BlockTag = "latest">(args?: import("viem").GetBlockParameters<TIncludeTransactions, TBlockTag> | undefined) => Promise<import("viem").GetBlockReturnType<import("viem").Chain | undefined, TIncludeTransactions, TBlockTag>>;
getBlockNumber: (args?: import("viem").GetBlockNumberParameters | undefined) => Promise<bigint>;
getBlockTransactionCount: (args?: import("viem").GetBlockTransactionCountParameters | undefined) => Promise<number>;
getBytecode: (args: import("viem").GetBytecodeParameters) => Promise<import("viem").GetBytecodeReturnType>;
getChainId: () => Promise<number>;
getContractEvents: <const abi_1 extends readonly unknown[] | import("viem").Abi, eventName extends import("viem").ContractEventName<abi_1> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends bigint | import("viem").BlockTag | undefined = undefined, toBlock extends bigint | import("viem").BlockTag | undefined = undefined>(args: import("viem/_types/actions/public/getContractEvents").GetContractEventsParameters<abi_1, eventName, strict, fromBlock, toBlock>) => Promise<import("viem/_types/actions/public/getContractEvents").GetContractEventsReturnType<abi_1, eventName, strict, fromBlock, toBlock>>;
getEnsAddress: (args: {
blockNumber?: bigint | undefined;
blockTag?: import("viem").BlockTag | undefined;
coinType?: number | undefined;
name: string;
universalResolverAddress?: `0x${string}` | undefined;
}) => Promise<import("viem").GetEnsAddressReturnType>;
getEnsAvatar: (args: {
name: string;
blockNumber?: bigint | undefined;
blockTag?: import("viem").BlockTag | undefined;
universalResolverAddress?: `0x${string}` | undefined;
gatewayUrls?: import("viem").AssetGatewayUrls | undefined;
}) => Promise<import("viem/_types/actions/ens/getEnsAvatar").GetEnsAvatarReturnType>;
getEnsName: (args: {
blockNumber?: bigint | undefined;
blockTag?: import("viem").BlockTag | undefined;
address: `0x${string}`;
universalResolverAddress?: `0x${string}` | undefined;
}) => Promise<import("viem").GetEnsNameReturnType>;
getEnsResolver: (args: {
blockNumber?: bigint | undefined;
blockTag?: import("viem").BlockTag | undefined;
name: string;
universalResolverAddress?: `0x${string}` | undefined;
}) => Promise<`0x${string}`>;
getEnsText: (args: {
blockNumber?: bigint | undefined;
blockTag?: import("viem").BlockTag | undefined;
name: string;
key: string;
universalResolverAddress?: `0x${string}` | undefined;
}) => Promise<import("viem/_types/actions/ens/getEnsText").GetEnsTextReturnType>;
getFeeHistory: (args: import("viem").GetFeeHistoryParameters) => Promise<import("viem").GetFeeHistoryReturnType>;
estimateFeesPerGas: <TChainOverride extends import("viem").Chain | undefined = undefined, TType extends import("viem").FeeValuesType = "eip1559">(args?: import("viem").EstimateFeesPerGasParameters<import("viem").Chain | undefined, TChainOverride, TType> | undefined) => Promise<import("viem").EstimateFeesPerGasReturnType>;
getFilterChanges: <TFilterType extends import("viem/_types/types/filter").FilterType, const TAbi_1 extends readonly unknown[] | import("viem").Abi | undefined, TEventName_1 extends string | undefined, TStrict_2 extends boolean | undefined = undefined, TFromBlock_2 extends bigint | import("viem").BlockTag | undefined = undefined, TToBlock_2 extends bigint | import("viem").BlockTag | undefined = undefined>(args: import("viem").GetFilterChangesParameters<TFilterType, TAbi_1, TEventName_1, TStrict_2, TFromBlock_2, TToBlock_2>) => Promise<import("viem").GetFilterChangesReturnType<TFilterType, TAbi_1, TEventName_1, TStrict_2, TFromBlock_2, TToBlock_2>>;
getFilterLogs: <const TAbi_2 extends readonly unknown[] | import("viem").Abi | undefined, TEventName_2 extends string | undefined, TStrict_3 extends boolean | undefined = undefined, TFromBlock_3 extends bigint | import("viem").BlockTag | undefined = undefined, TToBlock_3 extends bigint | import("viem").BlockTag | undefined = undefined>(args: import("viem").GetFilterLogsParameters<TAbi_2, TEventName_2, TStrict_3, TFromBlock_3, TToBlock_3>) => Promise<import("viem").GetFilterLogsReturnType<TAbi_2, TEventName_2, TStrict_3, TFromBlock_3, TToBlock_3>>;
getGasPrice: () => Promise<bigint>;
getLogs: <const TAbiEvent_1 extends import("abitype").AbiEvent | undefined = undefined, const TAbiEvents_1 extends readonly unknown[] | readonly import("abitype").AbiEvent[] | undefined = TAbiEvent_1 extends import("abitype").AbiEvent ? [TAbiEvent_1] : undefined, TStrict_4 extends boolean | undefined = undefined, TFromBlock_4 extends bigint | import("viem").BlockTag | undefined = undefined, TToBlock_4 extends bigint | import("viem").BlockTag | undefined = undefined>(args?: import("viem").GetLogsParameters<TAbiEvent_1, TAbiEvents_1, TStrict_4, TFromBlock_4, TToBlock_4> | undefined) => Promise<import("viem").GetLogsReturnType<TAbiEvent_1, TAbiEvents_1, TStrict_4, TFromBlock_4, TToBlock_4>>;
getProof: (args: import("viem").GetProofParameters) => Promise<import("viem").GetProofReturnType>;
estimateMaxPriorityFeePerGas: <TChainOverride_1 extends import("viem").Chain | undefined = undefined>(args?: {
chain: TChainOverride_1 | null;
} | undefined) => Promise<bigint>;
getStorageAt: (args: import("viem").GetStorageAtParameters) => Promise<import("viem").GetStorageAtReturnType>;
getTransaction: <TBlockTag_1 extends import("viem").BlockTag = "latest">(args: import("viem").GetTransactionParameters<TBlockTag_1>) => Promise<import("viem").GetTransactionReturnType<import("viem").Chain | undefined, TBlockTag_1>>;
getTransactionConfirmations: (args: import("viem").GetTransactionConfirmationsParameters<import("viem").Chain | undefined>) => Promise<bigint>;
getTransactionCount: (args: import("viem").GetTransactionCountParameters) => Promise<number>;
getTransactionReceipt: (args: import("viem").GetTransactionReceiptParameters) => Promise<any>;
multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: import("viem").MulticallParameters<contracts, allowFailure>) => Promise<import("viem").MulticallReturnType<contracts, allowFailure>>;
prepareTransactionRequest: <TParameterType extends import("viem").PrepareTransactionRequestParameterType, TChainOverride_2 extends import("viem").Chain | undefined = undefined, TAccountOverride extends `0x${string}` | import("viem").Account | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<import("viem").Chain | undefined, import("viem").Account | undefined, TChainOverride_2, TAccountOverride, TParameterType>) => Promise<import("viem").PrepareTransactionRequestReturnType<import("viem").Chain, import("viem").Account | undefined, TChainOverride_2, TAccountOverride, TParameterType>>;
readContract: <const abi_2 extends readonly unknown[] | import("viem").Abi, functionName_1 extends import("viem").ContractFunctionName<abi_2, "pure" | "view">, args_1 extends import("viem").ContractFunctionArgs<abi_2, "pure" | "view", functionName_1>>(args: import("viem").ReadContractParameters<abi_2, functionName_1, args>) => Promise<import("viem").ReadContractReturnType<abi_2, functionName_1, args>>;
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
simulateContract: <const abi_3 extends readonly unknown[] | import("viem").Abi, functionName_2 extends import("viem").ContractFunctionName<abi_3, "nonpayable" | "payable">, args_2 extends import("viem").ContractFunctionArgs<abi_3, "nonpayable" | "payable", functionName_2>, chainOverride extends import("viem").Chain | undefined, accountOverride extends `0x${string}` | import("viem").Account | undefined = undefined>(args: import("viem").SimulateContractParameters<abi_3, functionName_2, args_2, import("viem").Chain | undefined, chainOverride, accountOverride>) => Promise<import("viem").SimulateContractReturnType<abi_3, functionName_2, args_2, import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
verifyMessage: (args: import("viem/_types/actions/public/verifyMessage").VerifyMessageParameters) => Promise<boolean>;
verifyTypedData: (args: import("viem/_types/actions/public/verifyTypedData").VerifyTypedDataParameters) => Promise<boolean>;
uninstallFilter: (args: import("viem").UninstallFilterParameters) => Promise<boolean>;
waitForTransactionReceipt: (args: import("viem").WaitForTransactionReceiptParameters<import("viem").Chain | undefined>) => Promise<any>;
watchBlockNumber: (args: import("viem").WatchBlockNumberParameters) => import("viem").WatchBlockNumberReturnType;
watchBlocks: <TIncludeTransactions_1 extends boolean = false, TBlockTag_2 extends import("viem").BlockTag = "latest">(args: import("viem").WatchBlocksParameters<import("viem").Transport, import("viem").Chain | undefined, TIncludeTransactions_1, TBlockTag_2>) => import("viem").WatchBlocksReturnType;
watchContractEvent: <const TAbi_3 extends readonly unknown[] | import("viem").Abi, TEventName_3 extends import("viem").ContractEventName<TAbi_3>, TStrict_5 extends boolean | undefined = undefined>(args: import("viem").WatchContractEventParameters<TAbi_3, TEventName_3, TStrict_5, import("viem").Transport>) => import("viem").WatchContractEventReturnType;
watchEvent: <const TAbiEvent_2 extends import("abitype").AbiEvent | undefined = undefined, const TAbiEvents_2 extends readonly unknown[] | readonly import("abitype").AbiEvent[] | undefined = TAbiEvent_2 extends import("abitype").AbiEvent ? [TAbiEvent_2] : undefined, TStrict_6 extends boolean | undefined = undefined>(args: import("viem").WatchEventParameters<TAbiEvent_2, TAbiEvents_2, TStrict_6, import("viem").Transport>) => import("viem").WatchEventReturnType;
watchPendingTransactions: (args: import("viem").WatchPendingTransactionsParameters<import("viem").Transport>) => import("viem").WatchPendingTransactionsReturnType;
extend: <const client extends {
[x: string]: unknown;
account?: undefined;
batch?: undefined;
cacheTime?: undefined;
chain?: undefined;
key?: undefined;
name?: undefined;
pollingInterval?: undefined;
request?: undefined;
transport?: undefined;
type?: undefined;
uid?: undefined;
} & Partial<Pick<import("viem").PublicActions, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, undefined, import("viem").PublicRpcSchema, import("viem").PublicActions<import("viem").Transport, import("viem").Chain | undefined>>) => client) => import("viem").Client<import("viem").Transport, import("viem").Chain | undefined, undefined, import("viem").PublicRpcSchema, { [K_1 in keyof client]: client[K_1]; } & import("viem").PublicActions<import("viem").Transport, import("viem").Chain | undefined>>;
} | undefined;
walletClient: {
account: undefined;
batch?: {
multicall?: boolean | {
batchSize?: number | undefined;
wait?: number | undefined;
} | undefined;
} | undefined;
cacheTime: number;
chain: undefined;
key: string;
name: string;
pollingInterval: number;
request: import("viem").EIP1193RequestFn<import("viem").WalletRpcSchema>;
transport: import("viem").TransportConfig<"custom", import("viem").EIP1193RequestFn>;
type: string;
uid: string;
addChain: (args: import("viem").AddChainParameters) => Promise<void>;
deployContract: <const abi_4 extends readonly unknown[] | import("viem").Abi, chainOverride_1 extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<abi_4, undefined, undefined, chainOverride_1>) => Promise<`0x${string}`>;
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
getChainId: () => Promise<number>;
getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
prepareTransactionRequest: <TParameterType_1 extends import("viem").PrepareTransactionRequestParameterType, TChainOverride_3 extends import("viem").Chain | undefined = undefined, TAccountOverride_1 extends `0x${string}` | import("viem").Account | undefined = undefined>(args: import("viem").PrepareTransactionRequestParameters<undefined, undefined, TChainOverride_3, TAccountOverride_1, TParameterType_1>) => Promise<import("viem").PrepareTransactionRequestReturnType<import("viem").Chain, undefined, TChainOverride_3, TAccountOverride_1, TParameterType_1>>;
requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
requestPermissions: (args: {
[x: string]: Record<string, any>;
eth_accounts: Record<string, any>;
}) => Promise<import("viem").RequestPermissionsReturnType>;
sendRawTransaction: (args: import("viem").SendRawTransactionParameters) => Promise<`0x${string}`>;
sendTransaction: <TChainOverride_4 extends import("viem").Chain | undefined = undefined>(args: import("viem").SendTransactionParameters<undefined, undefined, TChainOverride_4>) => Promise<`0x${string}`>;
signMessage: (args: import("viem").SignMessageParameters<undefined>) => Promise<`0x${string}`>;
signTransaction: <TChainOverride_5 extends import("viem").Chain | undefined>(args: import("viem").SignTransactionParameters<undefined, undefined, TChainOverride_5>) => Promise<`0x${string}`>;
signTypedData: <const TTypedData extends {
[x: string]: readonly import("viem").TypedDataParameter[];
[x: `string[${string}]`]: undefined;
[x: `function[${string}]`]: undefined;
[x: `address[${string}]`]: undefined;
[x: `bool[${string}]`]: undefined;
[x: `bytes[${string}]`]: undefined;
[x: `bytes10[${string}]`]: undefined;
[x: `bytes5[${string}]`]: undefined;
[x: `bytes7[${string}]`]: undefined;
[x: `bytes2[${string}]`]: undefined;
[x: `bytes1[${string}]`]: undefined;
[x: `bytes18[${string}]`]: undefined;
[x: `bytes27[${string}]`]: undefined;
[x: `bytes6[${string}]`]: undefined;
[x: `bytes32[${string}]`]: undefined;
[x: `bytes31[${string}]`]: undefined;
[x: `bytes30[${string}]`]: undefined;
[x: `bytes29[${string}]`]: undefined;
[x: `bytes28[${string}]`]: undefined;
[x: `bytes26[${string}]`]: undefined;
[x: `bytes25[${string}]`]: undefined;
[x: `bytes24[${string}]`]: undefined;
[x: `bytes23[${string}]`]: undefined;
[x: `bytes22[${string}]`]: undefined;
[x: `bytes21[${string}]`]: undefined;
[x: `bytes20[${string}]`]: undefined;
[x: `bytes19[${string}]`]: undefined;
[x: `bytes17[${string}]`]: undefined;
[x: `bytes16[${string}]`]: undefined;
[x: `bytes15[${string}]`]: undefined;
[x: `bytes14[${string}]`]: undefined;
[x: `bytes13[${string}]`]: undefined;
[x: `bytes12[${string}]`]: undefined;
[x: `bytes11[${string}]`]: undefined;
[x: `bytes9[${string}]`]: undefined;
[x: `bytes8[${string}]`]: undefined;
[x: `bytes4[${string}]`]: undefined;
[x: `bytes3[${string}]`]: undefined;
[x: `int[${string}]`]: undefined;
[x: `int40[${string}]`]: undefined;
[x: `int32[${string}]`]: undefined;
[x: `int24[${string}]`]: undefined;
[x: `int16[${string}]`]: undefined;
[x: `int8[${string}]`]: undefined;
[x: `int48[${string}]`]: undefined;
[x: `int56[${string}]`]: undefined;
[x: `int64[${string}]`]: undefined;
[x: `int72[${string}]`]: undefined;
[x: `int80[${string}]`]: undefined;
[x: `int88[${string}]`]: undefined;
[x: `int96[${string}]`]: undefined;
[x: `int104[${string}]`]: undefined;
[x: `int112[${string}]`]: undefined;
[x: `int120[${string}]`]: undefined;
[x: `int128[${string}]`]: undefined;
[x: `int136[${string}]`]: undefined;
[x: `int144[${string}]`]: undefined;
[x: `int152[${string}]`]: undefined;
[x: `int160[${string}]`]: undefined;
[x: `int168[${string}]`]: undefined;
[x: `int176[${string}]`]: undefined;
[x: `int184[${string}]`]: undefined;
[x: `int192[${string}]`]: undefined;
[x: `int200[${string}]`]: undefined;
[x: `int208[${string}]`]: undefined;
[x: `int216[${string}]`]: undefined;
[x: `int224[${string}]`]: undefined;
[x: `int232[${string}]`]: undefined;
[x: `int240[${string}]`]: undefined;
[x: `int248[${string}]`]: undefined;
[x: `int256[${string}]`]: undefined;
[x: `uint[${string}]`]: undefined;
[x: `uint40[${string}]`]: undefined;
[x: `uint32[${string}]`]: undefined;
[x: `uint24[${string}]`]: undefined;
[x: `uint16[${string}]`]: undefined;
[x: `uint8[${string}]`]: undefined;
[x: `uint48[${string}]`]: undefined;
[x: `uint56[${string}]`]: undefined;
[x: `uint64[${string}]`]: undefined;
[x: `uint72[${string}]`]: undefined;
[x: `uint80[${string}]`]: undefined;
[x: `uint88[${string}]`]: undefined;
[x: `uint96[${string}]`]: undefined;
[x: `uint104[${string}]`]: undefined;
[x: `uint112[${string}]`]: undefined;
[x: `uint120[${string}]`]: undefined;
[x: `uint128[${string}]`]: undefined;
[x: `uint136[${string}]`]: undefined;
[x: `uint144[${string}]`]: undefined;
[x: `uint152[${string}]`]: undefined;
[x: `uint160[${string}]`]: undefined;
[x: `uint168[${string}]`]: undefined;
[x: `uint176[${string}]`]: undefined;
[x: `uint184[${string}]`]: undefined;
[x: `uint192[${string}]`]: undefined;
[x: `uint200[${string}]`]: undefined;
[x: `uint208[${string}]`]: undefined;
[x: `uint216[${string}]`]: undefined;
[x: `uint224[${string}]`]: undefined;
[x: `uint232[${string}]`]: undefined;
[x: `uint240[${string}]`]: undefined;
[x: `uint248[${string}]`]: undefined;
[x: `uint256[${string}]`]: undefined;
string?: undefined;
address?: undefined;
bool?: undefined;
bytes?: undefined;
bytes10?: undefined;
bytes5?: undefined;
bytes7?: undefined;
bytes2?: undefined;
bytes1?: undefined;
bytes18?: undefined;
bytes27?: undefined;
bytes6?: undefined;
bytes32?: undefined;
bytes31?: undefined;
bytes30?: undefined;
bytes29?: undefined;
bytes28?: undefined;
bytes26?: undefined;
bytes25?: undefined;
bytes24?: undefined;
bytes23?: undefined;
bytes22?: undefined;
bytes21?: undefined;
bytes20?: undefined;
bytes19?: undefined;
bytes17?: undefined;
bytes16?: undefined;
bytes15?: undefined;
bytes14?: undefined;
bytes13?: undefined;
bytes12?: undefined;
bytes11?: undefined;
bytes9?: undefined;
bytes8?: undefined;
bytes4?: undefined;
bytes3?: undefined;
int40?: undefined;
int32?: undefined;
int24?: undefined;
int16?: undefined;
int8?: undefined;
int48?: undefined;
int56?: undefined;
int64?: undefined;
int72?: undefined;
int80?: undefined;
int88?: undefined;
int96?: undefined;
int104?: undefined;
int112?: undefined;
int120?: undefined;
int128?: undefined;
int136?: undefined;
int144?: undefined;
int152?: undefined;
int160?: undefined;
int168?: undefined;
int176?: undefined;
int184?: undefined;
int192?: undefined;
int200?: undefined;
int208?: undefined;
int216?: undefined;
int224?: undefined;
int232?: undefined;
int240?: undefined;
int248?: undefined;
int256?: undefined;
uint40?: undefined;
uint32?: undefined;
uint24?: undefined;
uint16?: undefined;
uint8?: undefined;
uint48?: undefined;
uint56?: undefined;
uint64?: undefined;
uint72?: undefined;
uint80?: undefined;
uint88?: undefined;
uint96?: undefined;
uint104?: undefined;
uint112?: undefined;
uint120?: undefined;
uint128?: undefined;
uint136?: undefined;
uint144?: undefined;
uint152?: undefined;
uint160?: undefined;
uint168?: undefined;
uint176?: undefined;
uint184?: undefined;
uint192?: undefined;
uint200?: undefined;
uint208?: undefined;
uint216?: undefined;
uint224?: undefined;
uint232?: undefined;
uint240?: undefined;
uint248?: undefined;
uint256?: undefined;
} | {
[key: string]: unknown;
}, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, undefined>) => Promise<`0x${string}`>;
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
writeContract: <const abi_5 extends readonly unknown[] | import("viem").Abi, functionName_3 extends import("viem").ContractFunctionName<abi_5, "nonpayable" | "payable">, args_3 extends import("viem").ContractFunctionArgs<abi_5, "pure" | "view", functionName_3>, TChainOverride_6 extends import("viem").Chain | undefined = undefined>(args: import("viem").WriteContractParameters<abi_5, functionName_3, args_3, undefined, undefined, TChainOverride_6>) => Promise<`0x${string}`>;
extend: <const client_1 extends {
[x: string]: unknown;
account?: undefined;
batch?: undefined;
cacheTime?: undefined;
chain?: undefined;
key?: undefined;
name?: undefined;
pollingInterval?: undefined;
request?: undefined;
transport?: undefined;
type?: undefined;
uid?: undefined;
} & Partial<Pick<import("viem").PublicActions, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").CustomTransport, undefined, undefined, import("viem").WalletRpcSchema, import("viem").WalletActions<undefined, undefined>>) => client_1) => import("viem").Client<import("viem").CustomTransport, undefined, undefined, import("viem").WalletRpcSchema, { [K_2 in keyof client_1]: client_1[K_2]; } & import("viem").WalletActions<undefined, undefined>>;
};
waitForUserOperationReceipt: (txHash: string) => Promise<import("@aa-simulator/core").UserOpTransactionReceipt>;
};