import type { GraphQLClient } from 'graphql-request'; import type { TimeframeEnum } from './deploy-markers.js'; export interface TimeseriesKey { name: string; fields: string[]; tags: Array<{ key: string; value: string; }>; } export interface TimeseriesValue { key: string; value: number | null; } export interface TimeseriesPoint { timestamp: number; values: TimeseriesValue[]; } export interface TimeseriesResult { resolution: string; start: string; end: string; keys: TimeseriesKey[]; points: TimeseriesPoint[]; } export type MetricFieldEnum = 'MEAN' | 'P90' | 'P95' | 'COUNT' | 'GAUGE' | 'COUNTER'; export declare function getMetricsTimeseries(graphqlClient: GraphQLClient, appId: string, metricName: string, namespace: string, timeframe?: TimeframeEnum): Promise; //# sourceMappingURL=metrics-timeseries.d.ts.map