import { PipeTransform } from '@angular/core';
import { UserPreferenceService } from '../../user-preference.service';
import moment from 'moment';
export declare type DateDisplay = Date | moment.Moment | string | null;
/**
 * Format a date to the user's preference for display
 */
export declare class DateDisplayPipe implements PipeTransform {
    private userPreferenceService;
    constructor(userPreferenceService: UserPreferenceService);
    private lastFormatString;
    /**
     * Format a date for display, accounting for user's display preferences.
     *
     * If {@see date} is null or undefined, or the end of time, returns empty string
     */
    transform(date?: DateDisplay, showEndOfTime?: boolean, showTime?: boolean): string;
}
