import { DatePipe } from '@angular/common';
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
/**
* Inline component to show dates/times in a human-readable adaptive manner:
*
* - Shows time if the given date/time is within the past 24 hours
* - Shows date if the given date/time is older than 24 hours
*
*/
export declare class TimeLabel implements OnInit, OnChanges {
private datePipe;
/**
* Date object to be displayed.
*/
time: Date;
formattedTime: string;
constructor(datePipe: DatePipe);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
applyFormat(): void;
}