import { YUIComponent } from './component';

/** Switch Component */
export declare class YSwitch extends YUIComponent {
  /**
   * determine whether the Switch is checked
   * @default false
   * @type boolean
   */
  checked: boolean;

  /**
   * Disable switch
   * @default false
   * @type boolean
   */
  disabled: boolean;

  /**
   * Triggered when the state of the switch changes
   * @type Function
   */
  change(checked: boolean, e: Event): void;
}
