import { PipeTransform } from '@angular/core'; import { UofxI18NService } from '@uofx/core'; import * as i0 from "@angular/core"; /** yyyy:年、MM:月、dd:天、HH:小時、mm:分、ss:秒、tt: pm/am、TT: PM/AM */ export declare class UofxCoreDateFormatPipe implements PipeTransform { formatDay: string; transform(value: any, exponent?: string): string; pad(val: any, len?: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class ToDatePipe implements PipeTransform { /** 將ISO 8601格式轉成Date並加上使用者時區 */ transform(value: any): Date; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class UofxWeekDayPipe implements PipeTransform { private i18nService; /** 用於轉換多語系字串 */ weekDay: string[]; constructor(i18nService: UofxI18NService); /** * 將new Date()物件內的getDay()數值轉成UI要顯示的字串 * @param value new Date().getDay();數值0 ~ 6 * @returns */ transform(value: number, mode?: 'full' | 'short'): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }