import { StyleProps } from '@codecademy/variance'; import { HTMLAttributes } from 'react'; import * as React from 'react'; import { InfoTipSubComponentProps } from '../../Tip/InfoTip/type-utils'; import { BaseInputProps } from '../types'; declare const labelSizeVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"size", false | "small" | "large"> & { theme?: import("@emotion/react").Theme; }) => import("@codecademy/variance").CSSObject; declare const labelStates: (props: Partial> & { theme?: import("@emotion/react").Theme; }) => import("@codecademy/variance").CSSObject; export interface LabelVariants extends StyleProps, StyleProps { } export type FormGroupLabelProps = HTMLAttributes & HTMLAttributes & LabelVariants & Pick & { /** * [The for/id string of a label or labelable form-related element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor). The outer FormGroup or FormLabel should have an identical string as the inner FormElement for accessibility purposes. */ infotip?: InfoTipSubComponentProps; size?: 'small' | 'large'; /** * Solo fields should always be required and have no optional/required text */ isSoloField?: boolean; }; export declare const FormGroupLabel: React.FC; export {};