/**
 * 计算日期的 ISO 周数（applyTimelineFormat 的 W token 使用）
 */
export declare function getISOWeekNumber(date: Date): number;
/**
 * 将格式字符串应用于指定日期，返回格式化后的标签字符串。
 * 支持 token：yyyy, MM, M, dd, d, HH, mm, Q（季度数字1-4）, W（ISO周数）
 * 特殊 pattern：'AAA|BBB' —— 月份 < 6（1-6月, index 0-5）时返回 AAA，否则返回 BBB
 */
export declare function applyTimelineFormat(formatStr: string, date: Date): string;
