import type { LabelProps } from "./types.js"; /** * ## Label * A component that renders a label element associated with a form control, and must be used within a [Control](https://formsnap.dev/docs/components/control) component. * * - [Label Documentation](https://formsnap.dev/docs/components/label) * * @example * ```svelte * * {#snippet children({ props })} * * * {/snippet} * * ``` * * ### `child` Snippet Props * - `props` - A spreadable object of attributes for the label element * * @param {boolean} [asChild=false] - Whether to opt out of rendering the label element. [[asChild Docs](https://formsnap.dev/docs/composition/aschild)] */ declare const Label: import("svelte").Component; export default Label;