import type { HermesClient } from "@pythnetwork/hermes-client"; import type { FinalExecutionOutcome } from "near-api-js/lib/providers/provider"; import type { Logger } from "pino"; import type { IPricePusher, PriceInfo, PriceItem } from "../interface.js"; import { ChainPriceListener } from "../interface.js"; import type { DurationInSeconds } from "../utils.js"; export declare class NearPriceListener extends ChainPriceListener { private account; private logger; constructor(account: NearAccount, priceItems: PriceItem[], logger: Logger, config: { pollingFrequency: DurationInSeconds; }); getOnChainPriceInfo(priceId: string): Promise; } export declare class NearPricePusher implements IPricePusher { private account; private hermesClient; private logger; constructor(account: NearAccount, hermesClient: HermesClient, logger: Logger); updatePriceFeed(priceIds: string[], pubTimesToPush: number[]): Promise; private getPriceFeedsUpdateData; } export declare class NearAccount { private pythAccountId; private account; constructor(network: string, accountId: string, nodeUrl: string, privateKeyPath: string | undefined, pythAccountId: string); getPriceUnsafe(priceId: string): Promise; getUpdateFeeEstimate(data: string): Promise; updatePriceFeeds(data: string, updateFee: any): Promise; private getConnection; }