import { PipeTransform } from '@angular/core'; import { DmCmpsDateFormats, DmCmpsDateTypes, DmCmpsLangs } from '../dm-cmps-input/dm-cmps-date.service'; import * as i0 from "@angular/core"; export declare class DmCmpsDatePipe implements PipeTransform { /** * Transforms a date to a string * @param value - the date to transform * @param format - the format of the date * @param lang - the language of the date * @returns the date as a string * @example * {{ date | dmCmpsDate: 'dd/MM/yyyy' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy HH:mm' }} * {{ date | dmCmpsDate: 'yyyy/MM/dd' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy': 'en' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy': 'he' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy': 'ar' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy HH:mm': 'en' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy HH:mm': 'he' }} * {{ date | dmCmpsDate: 'dd/MM/yyyy HH:mm': 'ar' }} * {{ date | dmCmpsDate: 'yyyy/MM/dd': 'en' }} * {{ date | dmCmpsDate: 'yyyy/MM/dd': 'he' }} * * The format can be any string that contains the following: * - 'dd' - the day of the month * - 'MM' - the month * - 'yyyy' - the year * - 'yy' - the year (2 digits) * - 'HH' - the hour * - 'mm' - the minute * - 'ss' - the second * - 'SSS' - the millisecond * - 'DM_a' - the AM/PM * - 'DM_E' - the day of the week * - 'DM_Z' - the time zone * - 'DM_z' - the time zone offset * - 'DM_yw' - the week of the year * - 'DM_mw' - the week of the month * - 'DM_yd' - the day of the year */ transform(value: DmCmpsDateTypes, format?: DmCmpsDateFormats | string, lang?: DmCmpsLangs): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }