import * as React from 'react'; interface IProps { value: Date | string; locale?: Locale; /** A strict formatter does not use helpers like 'almost', 'over', * 'less than' and the like. */ strict?: boolean; } interface IState { /** * The state timestamp is used to force the component * to rerender every second. */ timestamp: number; } declare class DistanceDate extends React.Component { private interval; constructor(props: IProps); componentDidMount(): void; componentWillUnmount(): void; update: () => void; render(): JSX.Element; } export { DistanceDate };