export type DatePickerRange = { start: Date | null; end: Date | null; }; import type { HTMLAttributes } from "svelte/elements"; type DatePickerProps = Omit, "class"> & { label?: string; helperText?: string; errorText?: string; invalid?: boolean; disabled?: boolean; mode?: "single" | "range"; /** * Bound value. In `mode="single"` (default) this is `Date | null`. In * `mode="range"` this is `DatePickerRange`. The runtime checks `mode` at * read/write time so misuse is non-fatal. */ value?: Date | DatePickerRange | null; min?: Date; max?: Date; locale?: string; placeholder?: string; size?: "sm" | "md" | "lg"; class?: string; id?: string; openLabel?: string; previousMonthLabel?: string; nextMonthLabel?: string; todayLabel?: string; }; declare const DatePicker: import("svelte").Component; type DatePicker = ReturnType; export default DatePicker; //# sourceMappingURL=DatePicker.svelte.d.ts.map