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