import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import { type SwitchRootState } from "../switch-root-context.js"; export interface SwitchThumbState extends SwitchRootState { } export interface SwitchThumbProps extends BaseUIComponentProps<"span", SwitchThumbState> { /** * Tag/component to render. Defaults to `"span"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; } /** * The movable part of the switch that indicates whether the switch is on or * off. Renders a `` element (or `as` override). * * Solid 2.0-native rewire (ยง1 wave 1): replaces `renderElement` with * `dynamic(() => props.as ?? "span")` and emits the same * `data-*` projection (`data-checked`/`data-unchecked` plus the field- * state attrs) inline as getters reading from the root context's `state` * accessor. */ export declare function SwitchThumb(props: SwitchThumbProps): JSX.Element; //# sourceMappingURL=switch-thumb.d.ts.map