import { YUIComponent } from './component';

/** Search Component */
export declare class YSearch extends YUIComponent {
  /**
   * Whether the search input is readonly.
   * @default false
   * @type boolean
   */
  readonly: boolean;
  /**
   * Whether the search input is disabled.
   * @default false
   * @type boolean
   */
  disabled: boolean;
  /**
   * The background of search input
   * @default 'normal'
   * @type string
   */
  bgColor: 'grey' | 'white';
  /**
   * The search input have border
   * @default false
   * @type string
   */
  border: boolean;
  /**
   * The search input content value
   * @type string | number
   */
  value: string | number;
  /**
   * the search input can clear the content
   * @default false
   * @type boolean
   */
  allowClear: boolean;
  /**
   * the search input can emit the value auto
   * @default false
   * @type boolean
   */
  autoSearch: boolean;
  /**
   * Whether the search input content is null
   * @type string
   */
  placeholder: string;
}
