import moment from 'moment';
/**
 * 对时间进行更友好的展示
 * @param input 需要进行转换的时间
 * @param now 对比的时间，默认为当前时间
 */
export declare function smartDateFromNow(input: moment.MomentInput, nowInput?: moment.MomentInput): string;
export type DateRange = {
    start?: moment.Moment;
    end?: moment.Moment;
};
export type DateRangeStrType = 'minute' | 'hour' | 'day' | 'week' | 'month' | 'season' | 'year';
export declare function endOfDay(todayInput?: moment.MomentInput): moment.Moment;
/**
 * 获得一个时间范围
 * @param type 范围类型
 */
export declare function getDateRange(type: DateRangeStrType, todayInput?: moment.MomentInput): DateRange;
