import { EventEmitter } from '../../stencil-public-runtime'; import { InheritAriaAttributesMixinContract } from '../utils/internal/mixins/accessibility/inherit-aria-attributes.mixin'; import { IxFormComponent } from '../utils/input'; declare const Toggle_base: abstract new (...args: any[]) => { componentDidLoad(): void; disconnectedCallback(): void; hostElement?: import("@stencil/core/internal").HTMLStencilElement; connectedCallback?(): void; componentWillRender?(): Promise | void; componentDidRender?(): void; componentWillLoad?(): Promise | void; componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void; componentWillUpdate?(): Promise | void; componentDidUpdate?(): void; render?(): any; } & import("../utils/internal/component").StencilLifecycle & { inheritAriaAttributes: import("../utils/a11y").A11yAttributes; getIgnoredAriaAttributes(): import("../utils/a11y").A11yAttributeName[]; componentWillLoad(): Promise | void; ariaAttributeChanged(newValue: string | null, _: string | null, propName: string): void; hostElement?: import("@stencil/core/internal").HTMLStencilElement; connectedCallback?(): void; disconnectedCallback?(): void; componentWillRender?(): Promise | void; componentDidRender?(): void; componentDidLoad?(): void; componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void; componentWillUpdate?(): Promise | void; componentDidUpdate?(): void; render?(): any; }; /** * @form-ready */ export declare class Toggle extends Toggle_base implements IxFormComponent, InheritAriaAttributesMixinContract { formInternals: ElementInternals; hostElement: HTMLIxToggleElement; /** * Name of the checkbox component */ name?: string; /** * Value of the checkbox component */ value: string; /** * Whether the slide-toggle element is checked or not. */ checked: boolean; /** * Whether the slide-toggle element is disabled or not. */ disabled: boolean; /** * If true the control is in indeterminate state */ indeterminate: boolean; /** * Text for on state */ textOn: string; /** * Text for off state */ textOff: string; /** * Text for indeterminate state */ textIndeterminate: string; /** * Hide `on` and `off` text */ hideText: boolean; /** * Required state of the checkbox component. * * If true, checkbox needs to be checked to be valid */ required: boolean; /** * An event will be dispatched each time the slide-toggle changes its value. */ checkedChange: EventEmitter; /** @internal */ valueChange: EventEmitter; /** * An event will be dispatched each time the toggle is blurred. */ ixBlur: EventEmitter; private touched; onCheckedChange(newChecked: boolean): void; componentWillLoad(): void; updateFormInternalValue(): void; watchCheckedChange(): void; /** @internal */ hasValidValue(): Promise; /** @internal */ getAssociatedFormElement(): Promise; /** @internal */ isTouched(): Promise; updateClassMappings(): void; private resolveAriaLabel; render(): any; } export {};