import { HtmlAttrs } from '../../types/propTypes';
/**
 * @docsPage
 */
export declare class BsTextareaField {
  /** Sets the maximum value this textarea will allow. Will also display character count if present. This does not set maxlength, so users are able to enter text that is longer and edit it down. Enforcement of length must be by the developer. */
  charMax?: number;
  /** Sets the disabled state on textarea, disabled styles on label. */
  disabled: boolean;
  /** Applies error styles to the input. */
  error?: boolean;
  /** Pass error text. */
  errorMsg?: string;
  /** Pass helper text. */
  hint?: string;
  /** DEPRECATED.  Use `hint` and/or `errorMsg`. */
  hints?: string | string[];
  /** Pass id for the input element.  Will also be applied to label attribute. */
  inputId?: string;
  /** Pass label text. */
  label?: string;
  /** Placeholder attribute - same as native attribute. */
  placeholder?: string;
  /** Sets the required state on the textarea, append required* indicator to label. */
  required?: boolean;
  /** Sets the `rows` attribute on the textarea. */
  rows: number;
  /** Sets the textarea value. */
  value: string;
  /** List additional attributes by name (comma-separated) to pass through to <input>. */
  passAttrs: string;
  /** Native attributes to pass through to the input element. */
  attrs: HtmlAttrs;
  inputIdGen: string;
  get charCount(): number;
  get hintMsg(): string;
  get hintDeprecated(): string;
  get inputIdAttr(): string;
  /** Adds an id to associate a hint to a textarea. */
  hintId: string;
  hostEl: HTMLElement;
  componentWillLoad(): void;
  render(): any;
}
