import { PipeTransform } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { DateDisplayPipe } from './date-display.pipe';
import { TimeDisplayPipe } from './time-display.pipe';
import * as i0 from "@angular/core";
export type RelativeDateOptions = {
    dateOnly?: boolean;
    showTimeForToday?: boolean;
    todayLabel?: string;
    yesterdayLabel?: string;
    /** Prefix for when showing today as time for the value */
    todayTimePrefix?: string;
    /** Prefix for when displaying "today" as the value */
    todayPrefix?: string;
    /** Prefix for when displaying "yesterday" as the value */
    yesterdayPrefix?: string;
    /** Default prefix. Will be applied to all display options if defined and others are not */
    defaultPrefix?: string;
};
export declare class RelativeDatePipe implements PipeTransform {
    private dateDisplayPipe;
    private timeDisplayPipe;
    private translateService;
    constructor(dateDisplayPipe: DateDisplayPipe, timeDisplayPipe: TimeDisplayPipe, translateService: TranslateService);
    /**
     * If dateOnly is true, returns timeSelected formatted according to the user's date preference.
     * If dateOnly is true and showTimeForToday is false and timeSelected is today, returns 'today' or todayLabel
     * If dateOnly and showTimeForToday is true and timeSelected is today, returns timeSelected formatted according to the user's time preference.
     * If dateOnly is false, returns timeSelected formatted according to the user's time preference.
     * If dateOnly is false and timeSelected is not today/yesterday, returns timeSelected formatted according to the user's date plus time preference.
     * If any of todayLabel, yesterdayLabel is supplied, use the supplied label.
     */
    transform(timeSelected: string, options?: RelativeDateOptions): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDatePipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDatePipe, "relativeDate", false>;
}
