export type DurationValue = { hours?: number | null; minutes?: number | null; years?: number | null; months?: number | null; }; export declare const propsByUnit: { hours: { min: number; max: number; size: number; style: { width: string; }; }; minutes: { min: number; max: number; size: number; style: { width: string; }; }; months: { min: number; max: number; size: number; style: { width: string; }; }; years: { min: number; size: number; style: { width: string; }; }; }; export declare const labelByUnit: { hours: string; minutes: string; months: string; years: string; }; export declare function clampDuration(value: number | null, unit: keyof typeof propsByUnit): number | null;