import { Ref } from 'vue';
import { Dayjs } from 'dayjs';
import { DateFormatEnum } from '../constant';
export declare function formatDate(date: Dayjs, format: DateFormatEnum): string;
export declare const useDateFormatOptions: (selectedDate: Ref<Dayjs>) => import('vue').ComputedRef<{
    label: string;
    value: DateFormatEnum;
}[]>;
/** 解析文本 → {h, m} 或 null */
export declare function parseTextToTime(text: string): {
    h: number;
    m: number;
} | null;
export declare const pad: (n: number) => string;
/** 格式化时间 */
export declare function formatTime(h: number, m: number, s: number): string;
export declare function isToday(d: Dayjs): boolean;
export declare function isSameDay(a?: Dayjs | null, b?: Dayjs | null): boolean;
export declare function isDisabledDate(d: Dayjs, config: {
    disabledDates?: (d: Date) => boolean;
    minDate?: string | number | Date;
    maxDate?: string | number | Date;
}): boolean;
export declare function buildCalendar(displayMonth: Dayjs, weekStart: number): any[];
export declare const createList: (n: number) => number[];
