import { BoxProps, ChakraComponent, ChakraProps } from '@chakra-ui/react'; import { default as React, LabelHTMLAttributes } from 'react'; export interface LabelProps extends Pick, Omit, "color"> { /** Controls whether the label should be inline with the input it goes with. * This prop should only be used internally. */ isInlined?: boolean; /** Controls whether the "(required)" text should be displayed alongside the * label's text. False by default. */ isRequired?: boolean; /** Allows the '(required)' text to be changed for language purposes * Note: Parenthesis will be added automatically by the component */ requiredLabelText?: string; } /** * A label for form inputs. It should never be used alone. */ export declare const Label: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export default Label;