import { EventEmitter } from '../../stencil-public-runtime'; import { CssClassMap } from '../../interfaces'; /** * @slot - Allows label content */ export declare class Toggleswitch { /** * The host element. */ element: HTMLElement; /** * The toggle ID & name */ name: string; /** * On/Enabled text for inside toggle switch */ ontext: string; /** * Off/disabled text for inside toggle switch - must be the same length or shorter than the on/enable text */ offtext: string; /** * Whether to use the large variant of the toggle. */ large: false; /** * Whether to use the inverted variant of the toggle. */ inverted: false; /** * The toggle value */ value: 0; /** * Whether to use the block style variant of the toggle. */ block: false; /** * Whether the toggle is disabled. */ disabled: boolean; /** * Is it Checked ? */ checked: boolean; /** * Emitted when the toggle is selected. */ selected: EventEmitter; /** * Emitted when the toggle is unselected. */ unselected: EventEmitter; /** * Get the map of CSS classes for the checkbox. * * @return CssClassMap */ getClassMap(): CssClassMap; /** * Propagate a focus event. * * Used to propagate `` focus events through the Shadow DOM boundary * in the case that they aren't by the browser. * * @param {FocusEvent} event */ private onFocusEvent; /** * on Change event change input's value. * * Used to emit the change of value when an input is checked. * * @param {InputEvent} event */ private onChangeEvent; /** * prevent Event Propagation * * Prevents the propagation of click events to prevent click events firing twice on the component * * @param {MouseEvent} event */ private preventPropagation; render(): any; }