import dayjs, { Dayjs, isDayjs } from 'dayjs';
export type DateValue = string | Dayjs;
/**
 * 格式化日期为年-季字符串
 *
 * @param value 日期值
 * @returns 年-季字符串
 * @example
 * formatQuarter('2023-03-01') // '2023-Q1'
 * formatQuarter('2023-04-01') // '2023-Q2'
 */
export declare function formatQuarter(value: DateValue): string;
/**
 * 年-季字符串转换为Dayjs实例
 *
 * @param value 年-季字符串, 例如：2023-Q1
 * @returns Dayjs 实例
 * @example
 * transformQuarter('2023-Q1').format('YYYY-MM-DD') // '2023-01-01'
 */
export declare function transformQuarter(value: DateValue): dayjs.Dayjs;
/**
 * 判断日期字符串是否为无效日期字符串
 *
 * @param value 日期字符串
 * @returns 是否为无效日期字符串
 * @example
 * isInvalidDateString('2023-03-01') // false
 * isInvalidDateString('2023-04-01') // false
 * isInvalidDateString('invalid date') // true
 * isInvalidDateString('Invalid Date') // true
 * isInvalidDateString('INVALID DATE') // true
 */
export declare function isInvalidDateString(value: string): boolean;
export { dayjs, Dayjs, isDayjs };
