import { Observation } from '../types'; export declare const MAX_ABS_TICK_MOVE: bigint; export declare function transform(last: Observation, blockTimestamp: bigint, tick: bigint): Observation; export declare function write(observations: Observation[], intermediate: Observation, index: bigint, blockTimestamp: bigint, tick: bigint, cardinality: bigint, cardinalityNext: bigint, minInterval: bigint): { intermediateUpdated: Observation; indexUpdated: bigint; cardinalityUpdated: bigint; }; export declare function grow(observations: Observation[], current: bigint, next: bigint): bigint; export declare function binarySearch(observations: Observation[], time: bigint, target: bigint, index: bigint, cardinality: bigint): { beforeOrAt: Observation; atOrAfter: Observation; }; export declare function getSurroundingObservations(observations: Observation[], intermediate: Observation, time: bigint, target: bigint, tick: bigint, index: bigint, cardinality: bigint): { beforeOrAt: Observation; atOrAfter: Observation; }; export declare function observeDouble(observations: Observation[], intermediate: Observation, time: bigint, secondsAgo0: bigint, secondsAgo1: bigint, tick: bigint, index: bigint, cardinality: bigint): { tickCumulative0: bigint; tickCumulative1: bigint; }; export declare function observeTriple(observations: Observation[], intermediate: Observation, time: bigint, secondsAgo0: bigint, secondsAgo1: bigint, secondsAgo2: bigint, tick: bigint, index: bigint, cardinality: bigint): { tickCumulative0: bigint; tickCumulative1: bigint; tickCumulative2: bigint; }; export declare function _observe(observations: Observation[], intermediate: Observation, time: bigint, secondsAgo: bigint[], tick: bigint, index: bigint, cardinality: bigint): bigint[];