import { AppPlatform } from '../graphql/generated'; import { NavigationRouteWithPlatform } from './fetchNavigationRoutes'; export type NavigationStatKey = 'median' | 'p90' | 'count'; export declare const NAVIGATION_STAT_ALIASES: Record; export declare const NAVIGATION_STAT_DISPLAY_NAMES: Record; export declare function resolveNavigationStatKey(input: string): NavigationStatKey; export declare const NAVIGATION_METRIC_NAMES: string[]; export declare function isNavigationMetric(metricName: string): boolean; export interface NavigationRouteValuesJson { routeName: string; platform: AppPlatform; metrics: Record>>; } export interface ObserveNavigationRoutesJsonOutput { routes: NavigationRouteValuesJson[]; pageInfoByPlatform: Record; } export declare function buildObserveNavigationRoutesJson(routes: NavigationRouteWithPlatform[], metricNames: string[], stats: NavigationStatKey[], pageInfoByPlatform: Map): ObserveNavigationRoutesJsonOutput; export interface BuildNavigationRoutesTableOptions { daysBack?: number; startTime?: string; endTime?: string; pageInfoByPlatform?: Map; } export declare function buildObserveNavigationRoutesTable(routes: NavigationRouteWithPlatform[], metricNames: string[], stats: NavigationStatKey[], options?: BuildNavigationRoutesTableOptions): string;