import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Set an id for the helper text element. * Inside a `FormItem`, defaults to `helper-{controlId}` (`-1`, `-2`, * and so on for later helper texts), and the item's control lists it * in `aria-describedby`. */ id?: string | undefined; /** * Set to `true` to use disabled styles. * Inside a `FormItem`, defaults to the item's `disabled`. A disabled * fieldset around it applies either way. */ disabled?: boolean | undefined; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type FormHelperTextProps = Omit<$RestProps, keyof $Props> & $Props; export default class FormHelperText extends SvelteComponentTyped< FormHelperTextProps, Record, { default: Record } > {}