import * as React from 'react';
import * as PropTypes from 'prop-types';
import './Duration.scss';
export interface IProps extends React.HTMLAttributes<HTMLSpanElement> {
    duration: number;
}
/**
 * Utility component for displaying durations of time in the format:
 * {days}d {hours}h {minutes}m {seconds}s.
 */
declare class Duration extends React.Component<IProps> {
    static propTypes: {
        /**
         * A duration of time in milliseconds.
         */
        duration: PropTypes.Requireable<number>;
    };
    render(): JSX.Element;
    private getDurationString;
}
export default Duration;
