import { ReactNode, ReactElement } from 'react'; export interface ControlLabelProps { id: string; text: string | ReactNode; aside?: ReactNode; optional?: boolean; themeLabel?: string; } declare function ControlLabel({ id, text, aside, optional, themeLabel }: ControlLabelProps): ReactElement; declare namespace ControlLabel { var propTypes: { /** Value should match the identifying id of the input element. */ id: any; /** Label text. Label can be string or ReactNode. */ text: any; /** Additional content to provide aligned to the right of the label. */ aside: any; /** If true, label text adds (optional) alongside it. */ optional: any; /** A space separated list of Assembly class names to override the existing presentation. */ themeLabel: any; }; } export default ControlLabel;