import { generateTransferLink } from './generateTransferLink.js'; import { getSwapExactInQuote } from './getSwapExactInQuote.js'; import { getTokenBalance } from './getTokenBalance.js'; import { permit } from './permit.js'; import { signEIP2612Permit } from './signEIP2612Permit.js'; import { swapExactIn } from './swapExactIn.js'; import { sweep } from './sweep.js'; import { transfer } from './transfer.js'; import type { Chain } from '../chains.js'; import type { Account } from '../types.js'; import type { GenerateTransferLinkParams } from './generateTransferLink.js'; import type { GetSwapExactInQuoteParams } from './getSwapExactInQuote.js'; import type { GetTokenBalanceInput } from './getTokenBalance.js'; import type { PermitParams } from './permit.js'; import type { SignEIP2612PermitParams } from './signEIP2612Permit.js'; import type { SwapExactInParams } from './swapExactIn.js'; import type { SweepParams } from './sweep.js'; import type { TransferParams } from './transfer.js'; import type { Chain as ViemChain, Client, Transport } from 'viem'; export * from './transfer.js'; export * from './sweep.js'; export * from './generateTransferLink.js'; export * from './getSwapExactInQuote.js'; export * from './getTokenBalance.js'; export * from './permit.js'; export * from './swapExactIn.js'; export { FEE_LEVEL_WITH_PREPARE } from '../providers/circle-wallets/actions/index.js'; export type Actions = { /** See {@link transfer} action */ transfer: (params: Parameters[1]) => ReturnType; /** See {@link sweep} action */ sweep: (params: Parameters[1]) => ReturnType; /** See {@link sweep} action */ drainFrom: (params: Parameters[1]) => ReturnType; /** See {@link generateTransferLink} action */ generateTransferLink: (params: Parameters[1]) => ReturnType; /** See {@link getSwapExactInQuote} action */ getSwapQuote: (params: Parameters[1]) => ReturnType; /** See {@link getSwapExactInQuote} action */ getSwapExactInQuote: (params: Parameters[1]) => ReturnType; /** See {@link getTokenBalance} action */ getTokenBalance: (params: Parameters[1]) => ReturnType; /** See {@link signEIP2612Permit} action */ signEIP2612Permit: (params: Parameters[1]) => ReturnType; /** See {@link permit} action */ permit: (params: Parameters[1]) => ReturnType; /** See {@link swapExactIn} action */ swap: (params: Parameters[1]) => ReturnType; /** See {@link swapExactIn} action */ swapExactIn: (params: Parameters[1]) => ReturnType; }; /** * Returns an object containing action functions bound to the provided client. * * @param client - The client instance to bind the actions to. * @returns An object containing the bound action functions. */ export declare function actions(client: Client): { /** See {@link sweep} action */ sweep: (params: SweepParams) => Promise; /** See {@link sweep} action */ drainFrom: (params: SweepParams) => Promise; /** See {@link transfer} action */ transfer: (params: TransferParams) => Promise; /** See {@link generateTransferLink} action */ generateTransferLink: (params: GenerateTransferLinkParams) => Promise; /** See {@link getSwapExactInQuote} action */ getSwapQuote: (params: GetSwapExactInQuoteParams) => Promise; /** See {@link getSwapExactInQuote} action */ getSwapExactInQuote: (params: GetSwapExactInQuoteParams) => Promise; /** See {@link getTokenBalance} action */ getTokenBalance: (params: GetTokenBalanceInput) => Promise; /** See {@link signEIP2612Permit} action */ signEIP2612Permit: (params: SignEIP2612PermitParams) => Promise<{ typedData: { readonly types: { readonly EIP712Domain: readonly [{ readonly name: "name"; readonly type: "string"; }, { readonly name: "version"; readonly type: "string"; }, { readonly name: "chainId"; readonly type: "uint256"; }, { readonly name: "verifyingContract"; readonly type: "address"; }]; readonly Permit: readonly [{ readonly name: "owner"; readonly type: "address"; }, { readonly name: "spender"; readonly type: "address"; }, { readonly name: "value"; readonly type: "uint256"; }, { readonly name: "nonce"; readonly type: "uint256"; }, { readonly name: "deadline"; readonly type: "uint256"; }]; }; readonly primaryType: "Permit"; readonly domain: { readonly name: string; readonly version: string; readonly chainId: bigint; readonly verifyingContract: `0x${string}`; }; readonly message: { readonly owner: `0x${string}`; readonly spender: `0x${string}`; readonly value: bigint; readonly nonce: bigint; readonly deadline: bigint; }; }; signature: `0x${string}`; r: `0x${string}`; s: `0x${string}`; yParity: number; v: number; }>; /** See {@link permit} action */ permit: (params: PermitParams) => Promise<`0x${string}`>; /** See {@link swapExactIn} action */ swap: (params: SwapExactInParams) => Promise<`0x${string}`>; /** See {@link swapExactIn} action */ swapExactIn: (params: SwapExactInParams) => Promise<`0x${string}`>; };