import type { DateTimeAbsoluteUnit } from "./query";
export type InsightExpressionOperator = "+" | "-" | "*" | "/" | "log" | "pow" | "exp";
export type InsightExpressionOperand = "x" | number | InsightExpression;
export type InsightExpression = [
    InsightExpressionOperator,
    InsightExpressionOperand,
    InsightExpressionOperand
] | [InsightExpressionOperator, InsightExpressionOperand];
export interface Insight {
    col: string;
    unit: DateTimeAbsoluteUnit;
    "best-fit"?: InsightExpression;
    offset: number;
    slope: number;
    "last-change": number;
    "last-value": number;
    "previous-value": number;
}
