import type { DateValue } from '@internationalized/date'; import type { CalendarProps } from '@nuxt/ui'; import type { DateRange as CalendarDateRange } from 'reka-ui'; import type { DateRange, DateType } from '../types'; export type CalendarValue = DateValue | CalendarDateRange; export type ModelValue = (R extends true ? DateRange : DateType) | undefined; export interface DatePickerProps extends Omit, 'modelValue' | 'multiple' | 'minValue' | 'maxValue'> { modelValue: ModelValue; id?: string; name?: string; withTime?: boolean; minValue?: DateType; maxValue?: DateType; } export interface DatePickerEmits { 'update:modelValue': [value: ModelValue]; 'change': [event: Event]; 'blur': [event: FocusEvent]; 'focus': [event: FocusEvent]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal & { onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onChange?: ((event: Event) => any) | undefined; "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: {}; emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: ModelValue) => void); }>) => import("vue").VNode & { __ctx?: Awaited; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};