import type { TemplateResult } from "lit"; import { XmField } from "../field/index.js"; export declare class XmSwitch extends XmField { static styles: CSSStyleSheet[]; /** A switch submits checked-state ("on"/null), not text — declare it a toggle so the form value is correct from first paint, before any user interaction (the base seeds `_checked` from the `checked` attribute and `isToggle` routes it through the toggle form-value branch). */ protected get isToggle(): boolean; private _toggleSwitch; private _onKeydown; render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { "xm-switch": XmSwitch; } }