import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, Provider, Renderer } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { Form } from '../../util/form';
import { Item } from '../item/item';
export declare const CHECKBOX_VALUE_ACCESSOR: Provider;
/**
 * @name Checkbox
 * @module ionic
 *
 * @description
 * The Checkbox is a simple component styled based on the mode. It can be
 * placed in an `ion-item` or used as a stand-alone checkbox.
 *
 * See the [Angular 2 Docs](https://angular.io/docs/ts/latest/guide/forms.html)
 * for more info on forms and inputs.
 *
 *
 * @usage
 * ```html
 *
 *  <ion-list>
 *
 *    <ion-item>
 *      <ion-label>Pepperoni</ion-label>
 *      <ion-checkbox [(ngModel)]="pepperoni"></ion-checkbox>
 *    </ion-item>
 *
 *    <ion-item>
 *      <ion-label>Sausage</ion-label>
 *      <ion-checkbox [(ngModel)]="sausage" disabled="true"></ion-checkbox>
 *    </ion-item>
 *
 *    <ion-item>
 *      <ion-label>Mushrooms</ion-label>
 *      <ion-checkbox [(ngModel)]="mushrooms"></ion-checkbox>
 *    </ion-item>
 *
 *  </ion-list>
 * ```
 *
 * @demo /docs/v2/demos/checkbox/
 * @see {@link /docs/v2/components#checkbox Checkbox Component Docs}
 */
export declare class Checkbox implements AfterContentInit, ControlValueAccessor, OnDestroy {
    private _form;
    private _item;
    private _elementRef;
    private _renderer;
    private _checked;
    private _init;
    private _disabled;
    private _labelId;
    private _fn;
    /** internal */
    private _color;
    /**
     * @private
     */
    id: string;
    /**
     * @input {string} The predefined color to use. For example: `"primary"`, `"secondary"`, `"danger"`.
     */
    color: string;
    /**
     * @output {Checkbox} expression to evaluate when the checkbox value changes
     */
    ionChange: EventEmitter<Checkbox>;
    constructor(_form: Form, _item: Item, _elementRef: ElementRef, _renderer: Renderer);
    /**
     * @internal
     */
    _updateColor(newColor: string): void;
    /**
     * @internal
     */
    _setElementColor(color: string, isAdd: boolean): void;
    /**
     * @private
     */
    private _click(ev);
    /**
     * @input {boolean} whether or not the checkbox is checked (defaults to false)
     */
    checked: boolean;
    /**
     * @private
     */
    private _setChecked(isChecked);
    /**
     * @private
     */
    writeValue(val: any): void;
    /**
     * @private
     */
    registerOnChange(fn: Function): void;
    /**
     * @private
     */
    registerOnTouched(fn: any): void;
    /**
     * @input {boolean} whether or not the checkbox is disabled or not.
     */
    disabled: boolean;
    /**
     * @private
     */
    onChange(isChecked: boolean): void;
    /**
     * @private
     */
    onTouched(): void;
    /**
     * @private
     */
    ngAfterContentInit(): void;
    /**
     * @private
     */
    ngOnDestroy(): void;
}
