import { YUIComponent } from './component';

/** Checkbox Component */
export declare class YCheckbox extends YUIComponent {
  /** If the checkbox is checked */
  checked: boolean;

  /** If the checkbox is disabled */
  disabled: boolean;

  /** Same as indeterminate in native checkbox */
  indeterminate: boolean;

  /**
   * Triggered when the state of the checkbox changes
   * @type Function
   */
  change(checked: boolean, e: Event): void;
}
