import Decimal from 'decimal.js'; import { AccountInfo, AddressLookupTableAccount } from '@solana/web3.js'; import { Fraction } from '../../layouts/fraction'; import { OracleAggregator, OracleData } from '../../layouts/oracle'; export declare class OraclePrice { price: Decimal; conf: Decimal; updateTime: number; validated?: boolean; constructor(price: Decimal, conf: Decimal, updateTime: number, validated?: boolean); getMid(): Decimal; getLow(): Decimal; getHigh(): Decimal; } export declare class PriceAggregator { numOracles: number; oracles: OracleData[]; minConfBps: number; confThreshBps: number; minOraclesThresh: number; confMultiplier: Fraction; constructor(numOracles: number, oracles: OracleData[], minConfBps: number, confThreshBps: number, minOraclesThresh: number, confMultiplier: Fraction); static fetch(oracleAggregator: OracleAggregator, lutAccounts: AddressLookupTableAccount[], accountInfoMap: Map | null>, solPrice: OraclePrice, usdPrice: OraclePrice): OraclePrice; }