import type { Account, WalletClient, Transport } from 'viem'; import type { SignAuthorizationReturnType } from 'viem/accounts'; import type { Chain as ViemChain } from 'viem/chains'; export type SignEip7702AuthorizationParams = { chainId: number; signer: WalletClient; }; /** * Signs an EIP-7702 authorization for ZeroDev kernel delegation. * * This function creates a signed authorization that allows a wallet to delegate * its execution to the ZeroDev kernel contract. The signed authorization can then * be passed to `createEcdsaKernelAccountClientWith7702` via the `eip7702Auth` parameter. * * @param params - The parameters for signing the authorization. * @param params.signer - The wallet client (signer) to sign the authorization with. * @param params.chainId - The chain ID to use for signing. * @returns A promise that resolves to the signed EIP-7702 authorization. */ export declare const signEip7702Authorization: ({ signer, chainId, }: SignEip7702AuthorizationParams) => Promise;