import * as React from "react";

interface MDInputProps {
  /**
   * Whether the input is in an error state.
   * @default false
   */
  error?: boolean;

  /**
   * Whether the input is in a success state.
   * @default false
   */
  success?: boolean;

  /**
   * Whether the input is disabled.
   * @default false
   */
  disabled?: boolean;

  /**
   * Additional props passed to the root element.
   */
  [key: string]: any;
}

/**
 * MDInput is a customizable input component with support for error, success, and disabled states.
 */
declare const MDInput: React.ForwardRefExoticComponent<
  MDInputProps & React.RefAttributes<HTMLInputElement>
>;

export default MDInput;