import * as React from 'react'; import * as PropTypes from 'prop-types'; import { FormControlStatic } from './FormControlStatic'; import { FormControlFeedback } from './FormControlFeedback'; export interface FormControlProps extends React.HTMLProps { componentClass?: React.ReactType; /** * Only relevant if `componentClass` is `'input'`. */ type?: string; /** * Uses `controlId` from `` if not explicitly specified. */ id?: string; /** * Attaches a ref to the `` element. Only functions can be used here. * * ```js * { this.input = ref; }} /> * ``` */ inputRef?: React.Ref; scale?: 'large' | 'small'; } export declare class FormControl extends React.Component { static defaultProps: FormControlProps; static contextTypes: { $bs_formGroup: PropTypes.Requireable; }; static Static: typeof FormControlStatic; static Feedback: typeof FormControlFeedback; constructor(props: FormControlProps, context?: any); render(): JSX.Element; }