/** * 日期格式化编译函数 * 将格式化字符串编译为高效的处理函数 */ import { DateFormatOptions } from '../types/date'; /** * 编译后的日期格式化函数类型 */ export type CompiledFormatter = (date: Date, options?: Partial) => string; /** * 将格式化字符串编译为可直接执行的函数 * @param formatStr 格式化字符串 * @returns 编译后的格式化函数 */ export declare function compileDateFormatter(formatStr: string): CompiledFormatter; //# sourceMappingURL=compileDateFormatter.d.ts.map