import { YUIComponent } from './component';

interface SOURCE_TYPE {
  name: string;
  value: string | number;
  children?: SOURCE_TYPE;
}

/** Select Component */
export declare class YSelect extends YUIComponent {
  /**
   * The select source
   */
  source: SOURCE_TYPE[];

  /**
   * Initial value, default selected value
   */
  initVal: object | any[];

  /**
   * Whether multiple-select is activated
   */
  isMulti: boolean;

  /**
   * The label of select, on left
   */
  title: string;

  /**
   * Placeholder
   */
  noValTips: string;
}
