import { DatePipeConfig, DatePipe as NgDatePipe } from '@angular/common';
import { TranslateService } from '@ngx-translate/core';
import { DateFormatService } from './date-format.service';
import { AppStateService } from './ui-state.service';
import * as i0 from "@angular/core";
/**
 * The range of times supported by ECMAScript Date objects in milliseconds.
 * @see http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.1
 */
export declare const ES_MAX_TIME_MILLISECONDS = 8640000000000000;
/**
 * Formats a date value according to locale rules. If no other format specified it defaults to `medium`
 * used as standard date/time format.
 *
 * Extends Angular's DatePipe in a way so that date values exceeding the range supported by ECMAScript
 * are displayed as earliest/latest supported point in time printed in the desired format pre- or postfixed
 * by the word `before` or `after`, respectively.
 * In all other cases the pipe behaves as the standard [DatePipe]{@link https://angular.io/api/common/DatePipe}.
 *
 * ```html
 * <span class="highlight">{{ deadline | c8yDate }}</span> <!-- e.g. 7 May 2020, 17:45:19 (en-GB) or 07.05.2020, 17:45:19 (de) -->
 * <span>{{ lastUpdated | c8yDate: 'a h:MM:ss' }}</span> <!-- e.g. pm 5:45:19 -->
 * <span>{{ 8640000000000000 + 1 | c8yDate }}</span> <!-- e.g. after 13 Sep 275760, 03:00:00 -->
 * ```
 */
export declare class DatePipe extends NgDatePipe {
    private translateService;
    private appStateService?;
    private dateFormatService?;
    constructor(locale: string, translateService: TranslateService, appStateService?: AppStateService, dateFormatService?: DateFormatService, defaultTimezone?: string | null, defaultOptions?: DatePipeConfig | null);
    transform(value: any, format?: string, timezone?: string, locale?: string): any;
    static ɵfac: i0.ɵɵFactoryDeclaration<DatePipe, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
    static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "c8yDate", true>;
}
//# sourceMappingURL=date.pipe.d.ts.map