import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import { type CheckboxRootState } from "../checkbox-root-context.js"; export interface CheckboxIndicatorState extends CheckboxRootState { } export interface CheckboxIndicatorProps extends BaseUIComponentProps<"span", CheckboxIndicatorState> { /** * Tag/component to render. Defaults to `"span"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; /** * Whether to keep the element in the DOM when the checkbox is not * checked. * @default false */ keepMounted?: boolean | undefined; } /** * Indicates whether the checkbox is ticked. Renders a `` (or `as` * override) by default. * * 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`/`data-indeterminate` plus * the field-state attrs) inline as getters reading from the root * context's state accessor. The conditional mount via `` is * preserved. */ export declare function CheckboxIndicator(props: CheckboxIndicatorProps): JSX.Element; //# sourceMappingURL=checkbox-indicator.d.ts.map