import { type Cell } from '@ton/core'; import { type TonClient, Address } from '@ton/ton'; import type { AnyMessage, WithLogger } from '../types.ts'; import type { UnsignedTONTx } from './types.ts'; /** Opcode for Router ccipSend operation */ export declare const CCIP_SEND_OPCODE = 829853077; /** Default gas buffer to add to fee for transaction execution */ export declare const DEFAULT_GAS_BUFFER: bigint; /** Default gas limit for destination chain execution */ export declare const DEFAULT_GAS_LIMIT = 200000n; /** * WRAPPED_NATIVE address for TON - sentinel address representing native TON. * Used as feeToken for native TON payments in FeeQuoter calls. */ export declare const WRAPPED_NATIVE: Address; /** * Builds the Router ccipSend message cell. * * Relies on TL-B structure (Router_CCIPSend) from chainlink-ton repo. * * @param destChainSelector - Destination chain selector * @param message - CCIP message containing receiver, data, tokenAmounts, and extraArgs * @param feeTokenAddress - Fee token jetton address, or null for native TON * @param queryId - TON query ID for the message (default: 0) * @returns Cell containing the encoded Router ccipSend message */ export declare function buildCcipSendCell(destChainSelector: bigint, message: AnyMessage, feeTokenAddress?: Address | null, queryId?: bigint): Cell; /** * Gets the fee for sending a CCIP message by calling FeeQuoter.validatedFee. * * @param ctx - Context with TonClient provider and logger * @param router - Router contract address * @param destChainSelector - Destination chain selector * @param message - CCIP message to quote * @returns Fee amount in nanotons */ export declare function getFee(ctx: { provider: TonClient; } & WithLogger, router: string, destChainSelector: bigint, message: AnyMessage): Promise; /** * Generates an unsigned CCIP send transaction for the Router. * * @param ctx - Context with TonClient provider and logger * @param _sender - Sender address (unused, for interface compatibility) * @param router - Router contract address * @param destChainSelector - Destination chain selector * @param message - CCIP message with fee included * @param opts - Optional gas buffer override * @returns Unsigned transaction ready for signing */ export declare function generateUnsignedCcipSend(ctx: { provider: TonClient; } & WithLogger, _sender: string, router: string, destChainSelector: bigint, message: AnyMessage & { fee: bigint; }, opts?: { gasBuffer?: bigint; }): Omit; //# sourceMappingURL=send.d.ts.map