import type { Action } from "@near-js/transactions"; import { JsonRpcProvider } from "@near-js/providers"; import OmniService from "../bridge.js"; interface ViewFunctionCallOptions { contractId: string; methodName: string; args?: object; } declare class NearBridge { readonly omni: OmniService; rpc: JsonRpcProvider; constructor(omni: OmniService, rpc?: JsonRpcProvider | string[]); get logger(): import("../utils.js").Logger | undefined; viewFunction(options: ViewFunctionCallOptions): Promise; deposit(args: { token: string; amount: bigint; sender: string; intentAccount: string; sendTransaction: ({ receiverId, actions }: { receiverId: string; actions: Action[]; }) => Promise; }): Promise; parseWithdrawalNonce(tx: string, sender: string): Promise; parseWithdrawalNonces(tx: string, sender: string): Promise; getTokenBalance(token: string, address: string): Promise; isTokenRegistered(token: string, address: string): Promise; getWrapNearDepositAction(amount: string | bigint, address: string): Promise; } export default NearBridge;