import { createPublicClient, createWalletClient, type Chain } from 'viem'; import type { SessionPackage } from '../../shared/sessionPackage'; import { type DelegationSetup } from '../lib/sessionPackage'; export type DelegatedAssociationContext = { sessionAccountClient: any; walletClient: ReturnType; publicClient: ReturnType; delegationSetup: DelegationSetup; bundlerUrl: string; chain: Chain; }; export declare function buildDelegatedAssociationContext(sessionPackage: SessionPackage, chainId?: number): Promise; export declare function storeErc8092AssociationWithSessionDelegation(params: { sessionPackage: SessionPackage; chainId?: number; sar: any; }): Promise<{ txHash: string; }>; /** * Update the approver signature for an existing ERC-8092 association. * This allows the approver to add their signature after the initiator has already stored the association. */ export declare function updateErc8092ApproverSignatureWithSessionDelegation(params: { sessionPackage: SessionPackage; chainId?: number; associationId: `0x${string}`; approverKeyType: `0x${string}`; approverSignature: `0x${string}`; }): Promise<{ txHash: string; }>; /** * Get an association from the on-chain store by associationId. * Uses the ERC-8092 getAssociation function. */ export declare function getErc8092Association(params: { chainId: number; associationId: `0x${string}`; }): Promise; //# sourceMappingURL=delegatedAssociation.d.ts.map