import type { ClonableMixin } from "../../core/Clonable.js"; import type { JSONSupport } from "../../core/JSONSupport.js"; export interface TimeSeriesCalculationMethodProperties extends Partial> {} /** * The calculation method by which to derive a data value for a time series. By default, * each time series info includes the raw values returned from each field. * * @since 5.2 */ export type TimeSeriesCalculationMethodType = "change-from-average" | "change-from-first" | "change-from-previous" | "percent-change-from-average" | "percent-change-from-first" | "percent-change-from-previous"; /** * Defines a calculation method that can be used to derive data values for a time series. * * @since 5.2 */ export default class TimeSeriesCalculationMethod extends TimeSeriesCalculationMethodSuperclass { constructor(properties?: TimeSeriesCalculationMethodProperties); /** * A unique identifier for the calculation method within the time series. * * @since 5.2 */ accessor name: string | null | undefined; /** A user-friendly name for the calculation method. */ accessor title: string | null | undefined; /** The method by which to calculate a time series data value. */ accessor type: TimeSeriesCalculationMethodType | null | undefined; } declare const TimeSeriesCalculationMethodSuperclass: typeof JSONSupport & typeof ClonableMixin