import { ModelRef, WritableComputedRef } from 'vue';
export type CalendarItem = {
    year: number;
    month: number;
    date: number;
    setDate: VoidFunction;
};
export declare function useCalendar(timestamp: WritableComputedRef<number | undefined> | ModelRef<number | undefined>): {
    date: number;
    month: number;
    year: number;
    items: CalendarItem[];
    isToday: ({ year, month, date }: Pick<CalendarItem, "year" | "month" | "date">) => boolean;
    isActiveMonth: (date: Pick<CalendarItem, "year" | "month">) => boolean;
    isCurrentDate: ({ year, month, date }: Pick<CalendarItem, "year" | "month" | "date">) => boolean;
    isCurrentMonth: (year: number, month: number) => boolean;
    setYear: (year: number) => void;
    setMonth: (month: number) => void;
    setDate: (year: number, month: number, date?: number) => void;
    setTime: (hours: number, minutes: number, seconds?: number) => void;
};
