import { FilterState } from "../../types"; export type DateTrunc = "month" | "week" | "day" | "hour" | "minute"; export declare const getScoreAggregate: (projectId: string, filter: FilterState) => Promise<{ name: string; count: string; avg_value: string; source: string; data_type: string; }[]>; export declare const getObservationCostByTypeByTime: (projectId: string, filter: FilterState) => Promise<{ intervalStart: Date; key: string; sum: number; }[]>; export declare const getObservationUsageByTypeByTime: (projectId: string, filter: FilterState) => Promise<{ intervalStart: Date; key: string; sum: number; }[]>; export declare const orderByTimeSeries: (filter: FilterState, col: string) => [string, { fromTime: number; toTime: number; }, number]; export declare const selectTimeseriesColumn: (bucketSizeInSeconds: number, col: string, as: String) => string; export declare const extractFromAndToTimestampsFromFilter: (filter?: FilterState) => ({ column: string; operator: ">" | "<" | ">=" | "<="; value: Date; type: "datetime"; } | { column: string; operator: "=" | "contains" | "does not contain" | "starts with" | "ends with"; value: string; type: "string"; } | { column: string; operator: ">" | "<" | ">=" | "<=" | "="; value: number; type: "number"; } | { column: string; operator: "any of" | "none of"; value: string[]; type: "stringOptions"; } | { type: "categoryOptions"; column: string; key: string; operator: "any of" | "none of"; value: string[]; } | { column: string; operator: "any of" | "none of" | "all of"; value: string[]; type: "arrayOptions"; } | { type: "stringObject"; column: string; key: string; operator: "=" | "contains" | "does not contain" | "starts with" | "ends with"; value: string; } | { type: "numberObject"; column: string; key: string; operator: ">" | "<" | ">=" | "<=" | "="; value: number; } | { type: "boolean"; column: string; operator: "=" | "<>"; value: boolean; } | { type: "null"; column: string; operator: "is null" | "is not null"; value: ""; })[]; //# sourceMappingURL=dashboards.d.ts.map