Formats a date value according to locale rules.
class DatePipe implements PipeTransform { transform(value: string | number | Date, format?: string, timezone?: string, locale?: string): string; transform(value: null, format?: string, timezone?: string, locale?: string): null; transform(value: string | number | Date, format?: string, timezone?: string, locale?: string): string;}