import { App as Application, type DefineComponent, type SlotsType } from 'vue'; import './global.js'; import type { QCalendarAgendaSlots, QCalendarDaySlots, QCalendarMonthSlots, QCalendarResourceSlots, QCalendarSchedulerSlots, QCalendarTaskSlots } from './slots.js'; import { version } from './version.js'; import * as helpers from './utils/helpers.js'; export * from './utils/helpers.js'; export type { CalendarScrollEvent } from './composables/useScrollEvents.js'; type CalendarNavigationInstance = { prev: (_amount?: number) => void; next: (_amount?: number) => void; move: (_amount?: number) => void; moveToToday: () => void; updateCurrent: () => void; }; type CalendarIntervalInstance = CalendarNavigationInstance & { timeStartPos: (_time: string, _clamp?: boolean) => number; timeDurationHeight: (_minutes: number) => number; heightToMinutes: (_height: number) => number; scrollToTime: (_time: string, _duration?: number) => void; }; type CalendarResourceInstance = CalendarNavigationInstance & { timeStartPosX: (_time: string, _clamp?: boolean) => number; timeDurationWidth: (_minutes: number) => number; widthToMinutes: (_width: number) => number; scrollToTimeX: (_time: string, _duration?: number) => void; }; type CalendarDateScrollInstance = { scrollToDate: (_date: string, _duration?: number) => boolean; }; type RootCalendarComponent = {}> = DefineComponent, any, any, any, any, any, any, any, any, any, any, any, SlotsType> & { new (): Instance; }; type QCalendarInstance = CalendarIntervalInstance & CalendarResourceInstance & CalendarDateScrollInstance & { widthToMinutes: (_width: number) => number; }; type QCalendarAgendaInstance = CalendarNavigationInstance & CalendarDateScrollInstance; type QCalendarDayInstance = CalendarIntervalInstance & CalendarDateScrollInstance; type QCalendarMonthInstance = CalendarNavigationInstance; type QCalendarResourceInstance = CalendarResourceInstance; type QCalendarSchedulerInstance = CalendarNavigationInstance & CalendarDateScrollInstance; type QCalendarTaskInstance = CalendarNavigationInstance & CalendarDateScrollInstance; declare const QCalendar: RootCalendarComponent; declare const QCalendarAgenda: RootCalendarComponent; declare const QCalendarDay: RootCalendarComponent; declare const QCalendarMonth: RootCalendarComponent; declare const QCalendarResource: RootCalendarComponent; declare const QCalendarScheduler: RootCalendarComponent; declare const QCalendarTask: RootCalendarComponent; export type QCalendar = QCalendarInstance; export type QCalendarAgenda = QCalendarAgendaInstance; export type QCalendarDay = QCalendarDayInstance; export type QCalendarMonth = QCalendarMonthInstance; export type QCalendarResource = QCalendarResourceInstance; export type QCalendarScheduler = QCalendarSchedulerInstance; export type QCalendarTask = QCalendarTaskInstance; export { version, QCalendar, QCalendarAgenda, QCalendarDay, QCalendarMonth, QCalendarResource, QCalendarScheduler, QCalendarTask, }; declare const _default: { install(app: Application): void; convertToUnit(input: any, unit?: string): string | undefined; resolveCssLength(value: number | string, referenceElement?: HTMLElement | null): number; indexOf(array: any[], cb: (_element: any, _index: number) => boolean): number; minCharWidth(str: string, count: number): string; getResponsiveWeekdayLabel({ day, formatter, shortWeekdayLabel, cellWidth, breakpoints, minWeekdayLabel, forceMinWidth, }: { day: TTimestamp; formatter: (_day: TTimestamp, _short: boolean) => string; shortWeekdayLabel: boolean; cellWidth: number; breakpoints: readonly number[]; minWeekdayLabel: number | string; forceMinWidth?: boolean; }): string; default: { convertToUnit: typeof helpers.convertToUnit; resolveCssLength: typeof helpers.resolveCssLength; getResponsiveWeekdayLabel: typeof helpers.getResponsiveWeekdayLabel; indexOf: typeof helpers.indexOf; minCharWidth: typeof helpers.minCharWidth; }; version: string; QCalendar: any; QCalendarAgenda: any; QCalendarDay: any; QCalendarMonth: any; QCalendarResource: any; QCalendarScheduler: any; QCalendarTask: any; }; export default _default;