import type { Snippet } from 'svelte'; import type { HTMLLabelAttributes } from 'svelte/elements'; /** * Label component for form fields with accessibility support. * * @packageDocumentation * * @example * ```svelte * * * * * * * * * ``` */ interface LabelProps extends Omit { /** * ID of the associated form element. */ for?: string; /** * Error state (changes styling to destructive color). */ error?: boolean; /** * Required field indicator (shows red asterisk). */ required?: boolean; /** * Additional CSS classes. */ class?: string; /** * Label content. */ children: Snippet; } declare const Label: import("svelte").Component; type Label = ReturnType; export default Label; //# sourceMappingURL=Label.svelte.d.ts.map