import React from "react"; import { Label as LabelPrimitive } from "radix-ui"; import { type VariantProps } from "../utils.js"; declare const labelVariants: (props?: ({ weight?: "strong" | "light" | null | undefined; disabled?: boolean | null | undefined; invalid?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; interface LabelProps extends Omit, "children">, VariantProps { text: React.ReactNode; value?: React.ReactNode; description?: React.ReactNode; hint?: React.ReactNode; required?: boolean; disabled?: boolean; } declare const Label: (({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & { original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null; originalName: string; displayName: string; } & { original: (({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & { original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null) & { original: ({ className, disabled, description, hint, required, value, text, weight, invalid, ...props }: LabelProps) => React.JSX.Element | null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { Label, type LabelProps };