import type { TopNColumnOptions } from '@kong-ui-public/analytics-utilities'; export type TopNColumnOptionsMap = Record; export type TopNColumnStats = { sum: number; max: number; }; export type TopNThresholdType = 'warning' | 'error'; type TopNThreshold = NonNullable[number]; export declare const getColumnOptions: (options: TopNColumnOptionsMap | undefined, key: string) => TopNColumnOptions | undefined; export declare const toNumber: (value: unknown) => number | null; export declare const getColumnStats: (values: Array) => TopNColumnStats; export declare const getRelativeValue: (value: number, stats: TopNColumnStats) => number | null; export declare const getBarRatio: (value: number, stats: TopNColumnStats, scale: TopNColumnOptions["bar"]) => number; export declare const getThresholdType: (value: number, thresholds: TopNThreshold[] | undefined) => TopNThresholdType | undefined; export {}; //# sourceMappingURL=topn-columns.d.ts.map