import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Specify the size of the search input. * Inherits the parent `Form` size when unset, otherwise `"lg"` (40px), * as in Carbon v11. Also accepts Carbon v11's `"md"` (`"lg"`, 40px). * Carbon v11's 48px `lg` is `"xl"` here. * @default "lg" */ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined; /** * Set to `true` to hide the label text. * @deprecated has no effect -- Search's label is always visually * hidden, so the skeleton draws no label. * @default false */ hideLabel?: boolean; [key: `data-${string}`]: unknown; }; export type SearchSkeletonProps = Omit<$RestProps, keyof $Props> & $Props; export default class SearchSkeleton extends SvelteComponentTyped< SearchSkeletonProps, { click: WindowEventMap["click"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"]; mouseover: WindowEventMap["mouseover"]; }, Record > {}