import { LitElement, PropertyValues } from "lit"; export type WarpSwitchChangeEvent = CustomEvent<{ checked: boolean; value: string | null; }>; declare const WarpSwitch_base: import("@open-wc/form-control").Constructor & typeof LitElement; /** * The Switch component allows users to toggle between two states. * * [Warp component reference](https://warp-ds.github.io/docs/components/switch/frameworks/elements) * * @event {WarpSwitchChangeEvent} change - Dispatched when the switch toggles. Includes boolean `checked` and string/null `value` on `details`. */ export declare class WarpSwitch extends WarpSwitch_base { #private; /** * Use delegatesFocus so focus is delegated to the button inside shadow DOM. * * This avoids needing tabindex on the host element (prevents hydration mismatch). * @internal */ static shadowRootOptions: { delegatesFocus: boolean; clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }; /** * Name used when submitting an HTML form. */ name: string; /** * Value submitted when the switch is checked. * * The component reports `null` as the value in the `change` event when `value` is an empty string. */ value: string; /** * Whether the switch is on (checked). */ checked: boolean; /** * Whether the switch is disabled. */ disabled: boolean; static styles: import("lit").CSSResult[]; /** @internal */ get _baseClasses(): string; /** @internal */ get _trackClasses(): string; /** @internal */ get _handleClasses(): string; /** @internal */ _handleClick(): void; /** @internal */ _handleHostClick: (event: MouseEvent) => void; /** @internal */ _handleKeyDown: (event: KeyboardEvent) => void; /** @internal */ _syncA11yState(): void; connectedCallback(): void; disconnectedCallback(): void; willUpdate(changedProperties: PropertyValues): void; resetFormControl(): void; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "w-switch": WarpSwitch; } } export {};