import type { BytesLike } from 'ethers'; import type { WithLogger } from '../types.ts'; import { simulationProvider } from './utils.ts'; type EstimateExecComputeUnitsOpts = { connection: Parameters[0]['connection']; router: string; offRamp: string; message: { sourceChainSelector: bigint; messageId: string; receiver: string; sender?: string; data?: BytesLike; tokenReceiver?: string; destTokenAmounts?: readonly (({ token: string; } | { destTokenAddress: string; extraData?: string; }) & { amount: bigint; })[]; accounts?: readonly string[]; accountIsWritableBitmap?: bigint; }; } & WithLogger; /** * Estimate compute units consumed by a Solana receiver `ccip_receive` callback. * * This intentionally simulates the receiver callback directly, not full OffRamp execution. The first * three accounts follow the standard Solana CCIP receiver convention: OffRamp external execution * authority PDA, OffRamp program id, and Router allowed-offramp PDA. */ export declare function estimateExecComputeUnits({ connection, router, offRamp, message, logger, }: EstimateExecComputeUnitsOpts): Promise; export {}; //# sourceMappingURL=gas.d.ts.map