import type { AccountAddress, AccountAuthenticator, AccountPublicKey, AnyRawTransaction } from '@aptos-labs/ts-sdk'; import type { CCIPMessage_V1_6_EVM } from '../evm/messages.ts'; import type { ChainFamily, ExecutionInput } from '../types.ts'; /** Aptos account type with async transaction signing capability. */ export type AptosAsyncAccount = { publicKey: AccountPublicKey; accountAddress: AccountAddress; signTransactionWithAuthenticator: (transaction: AnyRawTransaction) => Promise | AccountAuthenticator; }; /** Typeguard for an aptos-ts-sdk-like Account */ export declare function isAptosAccount(account: unknown): account is AptosAsyncAccount; export declare const ExecutionReportCodec: import("@mysten/bcs").BcsStruct<{ sourceChainSelector: import("@mysten/bcs").BcsType; messageId: import("@mysten/bcs").BcsType & { length: number; }, string>; headerSourceChainSelector: import("@mysten/bcs").BcsType; destChainSelector: import("@mysten/bcs").BcsType; sequenceNumber: import("@mysten/bcs").BcsType; nonce: import("@mysten/bcs").BcsType; sender: import("@mysten/bcs").BcsType & { length: number; }, string>; data: import("@mysten/bcs").BcsType & { length: number; }, string>; receiver: import("@mysten/bcs").BcsType & { length: number; }, string>; gasLimit: import("@mysten/bcs").BcsType; tokenAmounts: import("@mysten/bcs").BcsType<{ sourcePoolAddress: number[]; destTokenAddress: number[]; destGasAmount: number; extraData: number[]; amount: string; }[], Iterable<{ sourcePoolAddress: Iterable & { length: number; }; destTokenAddress: Iterable & { length: number; }; destGasAmount: number; extraData: Iterable & { length: number; }; amount: string | number | bigint; }> & { length: number; }, string>; offchainTokenData: import("@mysten/bcs").BcsType & { length: number; }> & { length: number; }, string>; proofs: import("@mysten/bcs").BcsType & { length: number; }> & { length: number; }, string>; }, string>; /** * Serializes an execution report for Aptos using BCS encoding. * @param execReport - Execution report to serialize. * @returns BCS-encoded bytes. */ export declare function serializeExecutionReport(execReport: ExecutionInput): Uint8Array; /** * Unsigned Aptos transactions, BCS-serialized. */ export type UnsignedAptosTx = { family: typeof ChainFamily.Aptos; transactions: [Uint8Array]; }; //# sourceMappingURL=types.d.ts.map