import * as lit_html from 'lit-html'; import * as lit from 'lit'; import { LitElement } from 'lit'; import { F as FormSubmitController } from '../form-controller-BR0gZhrG.js'; /** * @since 1.0.0 * @status stable * * @tagname kemet-toggle * @summary A toggle switch for forms. * * @prop {string} name - The name on the input field * @prop {boolean} checked - Determines whether the toggle is checked * @prop {boolean} disabled - Determines whether the toggle is disabled * @prop {string} label - A description of the toggle's purpose * @prop {boolean} show - Determines whether to show text options * @prop {boolean} squared - Displays the toggle as squared instead of rounded * @prop {string} optionChecked - The checked option text * @prop {string} optionUnchecked - The unchecked option text * * @csspart label - The label element. * @csspart control - The control element. * @csspart text - The label text. * @csspart checked - The checked text. * @csspart unchecked - The unchecked text. * * @cssproperty --kemet-toggle-width - The width of the entire toggle. * @cssproperty --kemet-toggle-height - The height of the entire toggle. * @cssproperty --kemet-toggle-handle-diameter - The diameter of the handle. * @cssproperty --kemet-toggle-track-border - The border of the track. * @cssproperty --kemet-toggle-track-color - The color of the track. * @cssproperty --kemet-toggle-track-shadow - The shadow on the track. * @cssproperty --kemet-toggle-handle-border - The border on the handle. * @cssproperty --kemet-toggle-handle-color - The color of the handle. * @cssproperty --kemet-toggle-handle-shadow - The shadow on the handle. * * @event kemet-change - Fires when the toggle changes state * */ declare class KemetToggle extends LitElement { formSubmitController: FormSubmitController; static styles: lit.CSSResult[]; name: string; checked: boolean; disabled: boolean; label: string; show: boolean; squared: boolean; optionChecked: string; optionUnchecked: string; value: string | boolean; constructor(); render(): lit_html.TemplateResult<1>; handleChange(): void; makeUncheckedOption(): lit_html.TemplateResult<1>; makeCheckedOption(): lit_html.TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'kemet-toggle': KemetToggle; } } export { KemetToggle as default };