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 ChainLinkState = { answer: bigint; timestamp: bigint; }; export declare class ChainLinkSubscriber extends PartialEventSubscriber { private proxy; private aggregator; static readonly proxyInterface: Interface; static readonly ANSWER_UPDATED_TOPIC: string; constructor(proxy: Address, aggregator: Address, lens: Lens, DeepReadonly>, logger: Logger); static getReadAggregatorMultiCallInput(proxy: Address): MultiCallInput; static readAggregator(multicallOutput: MultiCallOutput): Address; static getReadDecimal(proxy: Address): MultiCallInput; static readDecimals(multicallOutput: MultiCallOutput): Address; processLog(state: DeepReadonly, log: Readonly, blockHeader: Readonly): DeepReadonly | null; getGenerateStateMultiCallInputs(): MultiCallInput[]; generateState(multicallOutputs: MultiCallOutput[], blockNumber?: number | 'latest'): DeepReadonly; getLatestRoundData(state: DeepReadonly): bigint; }