export default Checkbox; type Checkbox = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial>): void; }; /** * The equivalent of the HTML `` element. * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox * @see https://w3c.github.io/aria/#checkbox * @see https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/ */ declare const Checkbox: import("svelte").Component | undefined; /** * The two-way bound variable to manage the state of a group of * checkboxes. It works in the same way as the [``](https://svelte.dev/docs/svelte/bind#input-bind:group) of Svelte. */ group?: string[] | undefined; } & Record, {}, "group" | "checked">; type Props = { /** * The `class` attribute on the wrapper element. */ class?: string | undefined; /** * Whether to mark the widget required. An alias of the * `aria-required` attribute. */ required?: boolean | undefined; /** * Whether to mark the widget invalid. An alias of the * `aria-invalid` attribute. */ invalid?: boolean | undefined; /** * Whether to check the widget. An alias of the * `aria-checked` attribute. */ checked?: boolean | "mixed" | undefined; /** * Text label displayed next to the checkbox. */ label?: string | undefined; /** * `aria-label` attribute. */ ariaLabel?: string | undefined; /** * Check icon slot content. */ checkIcon?: Snippet<[]> | undefined; /** * The two-way bound variable to manage the state of a group of * checkboxes. It works in the same way as the [``](https://svelte.dev/docs/svelte/bind#input-bind:group) of Svelte. */ group?: string[] | undefined; }; import type { ButtonProps } from '../../typedefs'; import type { Snippet } from 'svelte';