import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Set the size of the skeleton to match the field it stands in for. * Inherits the parent `Form` size when unset. * Also accepts Carbon v11's `"md"` (the 40px default, which overrides a * `Form` size) and `"lg"` (`"xl"`). */ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined; /** * Specify the type of the date picker it stands in for. `"simple"` is a * short text field; `"range"` draws two inputs; the other types draw * one full-width input, as on DatePicker. * Takes precedence over `range`; unset, it's `"range"` when `range` is * set, otherwise `"simple"`. */ datePickerType?: "simple" | "single" | "range" | "month" | "year" | "week" | "multiple" | undefined; /** * Set to `true` to use the range variant. * @deprecated use `datePickerType="range"` * @default false */ range?: boolean; /** * Set to `true` to use the short variant * @default false */ short?: boolean; [key: `data-${string}`]: unknown; }; export type DatePickerSkeletonProps = Omit<$RestProps, keyof $Props> & $Props; export default class DatePickerSkeleton extends SvelteComponentTyped< DatePickerSkeletonProps, { click: WindowEventMap["click"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"]; mouseover: WindowEventMap["mouseover"]; }, Record > {}