import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import { type SliderRootState } from "../slider-root-context.js"; export interface SliderValueState extends SliderRootState { } export interface SliderValueProps extends Omit, "children"> { /** Tag/component to render. Defaults to `"output"`. */ as?: ValidComponent; /** * Consumer-supplied renderer for the displayed value. Receives the array * of formatted values and the raw numeric array. Returning `null` falls * back to the default join. */ children?: null | ((formattedValues: readonly string[], values: readonly number[]) => JSX.Element) | undefined; /** @default 'off' */ "aria-live"?: JSX.AriaAttributes["aria-live"] | undefined; } /** * Displays the current value of the slider as text. Renders an `` * (or `as` override). * * `htmlFor` is composed from every registered thumb's `inputId` — reading * `thumbMap()` subscribes to thumb registrations so the attribute updates when * thumbs mount or unmount. * * §1 wave 3: replaces `renderElement` with `dynamic(() => props.as ?? "output")`. */ export declare function SliderValue(props: SliderValueProps): JSX.Element; export declare namespace SliderValue { type State = SliderValueState; type Props = SliderValueProps; } //# sourceMappingURL=slider-value.d.ts.map