import { FC } from 'react'; export interface DurationLabelConfiguration { day: string; days: string; hour: string; hours: string; minute: string; minutes: string; second: string; seconds: string; } export interface DurationProps { /** * Number of milliseconds in this duration. */ milliseconds?: number; /** * Number of seconds in this duration. */ seconds?: number; /** * Number of minutes in this duration. */ minutes?: number; /** * The element type to be rendered. */ as?: string; /** * Additional props to be spread to rendered element */ [x: string]: any; /** * Additional class names to add. */ className?: string; /** * When rounding to the nearest second, minute, hour, or day, round up. */ roundUp?: boolean; /** * The control will display seconds until this number of milliseconds is reached, then minutes are used. */ displayMinutes?: number; /** * The control will display minutes until this number of milliseconds is reached, then hours are used. */ displayHours?: number; /** * The control will display hours until this number of milliseconds is reached, then days are used. */ displayDays?: number; /** * A configuration object that allows for internationalization of the time unit labels. */ labels?: DurationLabelConfiguration; } export declare const Duration: FC;