import type { Display, ExploreResultV4, FetchAllRequestsResult } from '@kong-ui-public/analytics-utilities'; import type { ScatterChartData } from '../types'; /** * Reduces an explore result to scatter input, plotting one point per record. * * With two or more metrics, the first is plotted on the x axis and the second on the y axis. */ export declare const exploreResultToScatterData: (result: ExploreResultV4 | undefined) => ScatterChartData | undefined; export interface ScatterExtraField { field: string; label?: string; unit?: string; } export interface RequestsToScatterDataOptions { metric: string; dimension?: string; /** A nested object to expand into one point per entry. */ unroll?: string; timestamp?: string; display?: Display; extraFields?: ScatterExtraField[]; metricUnit?: string; } export declare const requestsToScatterData: (result: FetchAllRequestsResult | undefined, options: RequestsToScatterDataOptions) => ScatterChartData | undefined; //# sourceMappingURL=scatter-adapters.d.ts.map