import { ChainType } from "../types/chain.js"; import { MessageDirection } from "../types/gmp.js"; import { Action } from "../types/message.js"; import type { FolksChainId, NetworkType } from "../types/chain.js"; import type { FolksProvider } from "../types/core.js"; import type { MessageBuilderParams, MessageDataMap, MessageToSend, OptionalFeeParams, Payload } from "../types/message.js"; import type { Hex } from "viem"; export declare function buildMessageToSend(chainType: ChainType, messageToSendBuilderParams: MessageBuilderParams, feeParams?: OptionalFeeParams): MessageToSend; export declare function estimateAdapterReceiveGasLimit(sourceFolksChainId: FolksChainId, destFolksChainId: FolksChainId, destFolksChainProvider: FolksProvider, network: NetworkType, messageDirection: MessageDirection, messageBuilderParams: MessageBuilderParams, receiverValue?: bigint, returnGasLimit?: bigint, isRewards?: boolean): Promise; export declare function getOperationIdsByTransaction(chainType: ChainType, folksProvider: FolksProvider, txnHash: Hex): Promise<`0x${string}`[]>; export declare function waitOperationIds(chainType: ChainType, folksProvider: FolksProvider, txnHash: Hex, confirmations?: number): Promise<`0x${string}`[]>; export declare function isReversibleAction(action: Action, messageDirection: MessageDirection): boolean; export declare function assertReversibleAction(action: Action, messageDirection: MessageDirection): void; export declare function isRetryableAction(action: Action, messageDirection: MessageDirection): boolean; export declare function assertRetryableAction(action: Action, messageDirection: MessageDirection): void; export declare function decodeMessagePayload(payload: Hex): Payload; export declare function decodeMessagePayloadData(action: A, data: Hex): MessageDataMap[A]; export declare function getGasLimitAfterIncrease(folksChainId: FolksChainId, gasLimit: bigint, network?: NetworkType): bigint; export declare function getWormholeExecutorExtraGasLimit(folksChainId: FolksChainId): 100000n | 300000n;