import { DeepReadonly } from 'ts-essentials'; import { PartialEventSubscriber } from '../composed-event-subscriber'; import { Address, BlockHeader, Log, Logger, MultiCallInput, MultiCallOutput } from '../types'; import { Lens } from '../lens'; import { Interface } from '@ethersproject/abi'; export type Api3FeedSubscriberState = { value: bigint; timestamp: bigint; }; export declare class Api3FeedSubscriber extends PartialEventSubscriber { private proxy; private dataFeedId; static readonly proxyInterface: Interface; static readonly api3ServerV1Iface: Interface; static readonly ANSWER_UPDATED_SIGNED_DATA: string; static readonly ANSWER_UPDATED_BEACON_SET_DATA: string; constructor(proxy: Address, api3Server: Address, dataFeedId: string, lens: Lens, DeepReadonly>, logger: Logger); static getApi3ServerV1MultiCallInput(proxy: Address): MultiCallInput; static getDapiNameHashMultiCallInput(proxy: Address): MultiCallInput; static getDataFeedId(proxy: Address): MultiCallInput; static getFeedIdFromDapiNameHash(api3Server: Address, dapiNameHash: string): MultiCallInput; static decodeFeedIdFromDapiNameHash(multicallOutput: MultiCallOutput): any; static decodeDapiNameHash(multicallOutput: MultiCallOutput): any; static decodeDataFeedId(multicallOutput: MultiCallOutput): any; static decodeApi3ServerV1Result(multicallOutput: MultiCallOutput): Address; processLog(state: DeepReadonly, log: Readonly, blockHeader: Readonly): DeepReadonly | null; getGenerateStateMultiCallInputs(): MultiCallInput[]; generateState(multicallOutputs: MultiCallOutput[], blockNumber?: number | 'latest'): DeepReadonly; getLatestData(state: DeepReadonly): bigint; }