import type { Transaction } from "@near-wallet-selector/core"; import type { Chain } from "viem"; export declare function createTxModal({ onCancel, txs, relayerPublicKey, explorerUrl, }: { onCancel: () => void; txs: Array; relayerPublicKey: string; explorerUrl: string; }): { showModal: () => void; hideModal: () => void; renderTxs: ({ selectedIndex, ethTxHashes, error, showDetails, onShowDetails, onConfirm, }: { selectedIndex: number; ethTxHashes: Array; error?: string | null | undefined; onShowDetails?: ((state: boolean) => void) | undefined; showDetails?: boolean | undefined; onConfirm?: (() => void) | undefined; }) => void; }; export declare function createMessageModal({ onCancel, title, message, }: { onCancel?: () => void; title: string; message: string; }): { showModal: () => void; hideModal: () => void; }; export declare function createChainSwitchModal({ chain }: { chain: Chain; }): { showModal: () => void; hideModal: () => void; };