import * as React from 'react';

/**
 * Textarea — from @kibrisyazilim/design-system@0.1.0.
 * @replaces textarea
 */
export interface TextareaProps {
  size?: "sm" | "md" | "lg";
  /** Which resize handles the user gets. Defaults to vertical only. */
  resize?: "none" | "vertical" | "both";
  className?: string;
  id?: string;
  style?: CSSProperties;
  children?: React.ReactNode;
  /** Visible label. Omit only when a label exists elsewhere. */
  label?: React.ReactNode;
  /** Helper text under the control. Hidden while `error` is set. */
  hint?: React.ReactNode;
  /** Error message. Its presence also puts the control in its invalid state. */
  error?: React.ReactNode;
  /** Stretches the field to the width of its container. */
  fullWidth?: boolean;
}

export declare const Textarea: React.ComponentType<TextareaProps>;
