import type { LabelHTMLAttributes } from 'react'; import type { DefaultProps } from '../../types'; export type LabelProps = { /** * Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset * @default 'medium' */ weight?: 'regular' | 'medium' | 'semibold'; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * @default false */ asChild?: boolean; } & LabelHTMLAttributes & DefaultProps; /** * Use `Label` for labels. Renders a native `label` element. * * @example * */ export declare const Label: import("react").ForwardRefExoticComponent<{ /** * Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset * @default 'medium' */ weight?: "regular" | "medium" | "semibold"; /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * @default false */ asChild?: boolean; } & LabelHTMLAttributes & DefaultProps & import("react").RefAttributes>; //# sourceMappingURL=label.d.ts.map