import type { Accessor } from "solid-js"; import type { SliderRootState } from "../slider-root-context.js"; /** * Reactive `data-*` getter bag shared by every `` part. Each key is * a live getter reading through the supplied `state` accessor — safe to spread * into `mergeRootProps` without losing reactivity. * * Mirrors `sliderStateAttributesMapping` (see `../root/state-attributes-mapping.ts`): * keys mapped to `() => null` there are intentionally omitted here, and * `valid` follows the tri-state `fieldValidityMapping` (`null` → no attr, * `true` → `data-valid`, `false` → `data-invalid`). * * Established as part of §1 wave 3 alongside `numberFieldDataAttrs` and the * sibling `scrollAreaDataAttrs` factory. */ export declare function sliderDataAttrs(state: Accessor): Record; //# sourceMappingURL=state-attrs.d.ts.map