import '../../stencil.core'; import { EventEmitter, QueueApi } from '../../stencil.core'; import { CheckedInputChangeEvent, Color, Mode, StyleEvent } from '../../interface'; export declare class Toggle { private inputId; private nativeInput; private pivotX; private gesture?; el: HTMLElement; queue: QueueApi; activated: boolean; keyFocus: boolean; /** * The color to use from your application's color palette. * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. * For more information on colors, see [theming](/docs/theming/basics). */ color?: Color; /** * The mode determines which platform styles to use. * Possible values are: `"ios"` or `"md"`. */ mode: Mode; /** * The name of the control, which is submitted with the form data. */ name: string; /** * If true, the toggle is selected. Defaults to `false`. */ checked: boolean; disabled: boolean; /** * the value of the toggle. */ value: string; /** * Emitted when the value property has changed. */ ionChange: EventEmitter; /** * Emitted when the toggle has focus. */ ionFocus: EventEmitter; /** * Emitted when the toggle loses focus. */ ionBlur: EventEmitter; /** * Emitted when the styles change. */ ionStyle: EventEmitter; checkedChanged(isChecked: boolean): void; disabledChanged(): void; componentWillLoad(): void; componentDidLoad(): Promise; private onDragStart; private onDragMove; private onDragEnd; private onChange; private onKeyUp; private onFocus; private onBlur; hostData(): { class: { 'in-item': boolean; 'toggle-activated': boolean; 'toggle-checked': boolean; 'toggle-disabled': boolean; 'toggle-key': boolean; 'interactive': boolean; } | { 'in-item': boolean; 'toggle-activated': boolean; 'toggle-checked': boolean; 'toggle-disabled': boolean; 'toggle-key': boolean; 'interactive': boolean; }; }; render(): JSX.Element[]; }