export class AbstractMetric {
    /**
     *
     * @param {number} value
     * @returns {void}
     */
    record(value: number): void;
    /**
     * @returns {number|undefined}
     */
    getLastRecord(): number | undefined;
    /**
     *
     * @param {MetricStatistics} result
     * @returns {boolean} whether metric was successfully computed or not
     */
    computeStats(result: MetricStatistics): boolean;
    /**
     * Shortcut to {@link computeStats}
     * Use the other one if you want to avoid memory allocation
     * @return {MetricStatistics}
     */
    get stats(): MetricStatistics;
    clear(): void;
    /**
     * @readonly
     * @type {boolean}
     */
    readonly isMetric: boolean;
}
import { MetricStatistics } from "./MetricStatistics.js";
//# sourceMappingURL=AbstractMetric.d.ts.map