import { DatePreset, ExperimentStatus, SelectOption, PillVariant } from '../types'; interface ExperimentCodeSource { id?: number | null; experiment_code?: string | null; } export declare function formatExperimentDate(dateStr: string): string; export declare function datePresetToISO(preset: DatePreset): string; export declare const EXPERIMENT_STATUS_OPTIONS: SelectOption[]; export declare const EXPERIMENT_STATUS_VARIANT_MAP: Record; export declare const EXPERIMENT_STATUS_LABELS: Record; export declare function formatExperimentStatus(status?: ExperimentStatus | string | null): string; export declare function getExperimentStatusVariant(status?: ExperimentStatus | string | null): PillVariant; export declare function resolveExperimentCode(experiment: ExperimentCodeSource): string | undefined; type RouteQueryValue = string | null | undefined | readonly (string | null | undefined)[]; type RouteQueryLike = Record; /** * Reads the experiment id a deep link was opened with. * * Returns an id and never a label: a display name belongs to the platform, so * callers must resolve it (see `useExperimentStore().selectById`) rather than * derive one from the query or the id itself. */ export declare function experimentIdFromRoute(query: RouteQueryLike): number | null; export declare const DATE_PRESET_OPTIONS: SelectOption[]; export declare const SORT_OPTIONS: SelectOption[]; export {};