import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["input"]; type $Props = { /** * Set to `true` to check the input. * @default false */ checked?: boolean; /** * Specify the title of the input. */ title?: string | undefined; /** * Specify the value of the input. * @default "value" */ value?: Value; /** * Set an id for the input element * @default uniqueId() */ id?: string; /** * Specify a name attribute for the input * @default "" */ name?: string; /** * Specify the tabindex * @default "0" */ tabindex?: number | string | undefined; /** * Obtain a reference to the input HTML element. * @default null */ ref?: null | HTMLInputElement; [key: `data-${string}`]: unknown; }; export type StructuredListInputProps = Omit<$RestProps, keyof $Props> & $Props; export default class StructuredListInput extends SvelteComponentTyped< StructuredListInputProps, Record, Record > {}