import type { SliderRootProps } from 'reka-ui'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/range'; import type { TooltipProps } from '../types'; import type { ComponentConfig } from '../types/tv'; type Range = ComponentConfig; export interface RangeProps extends Pick { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; /** * @defaultValue 'md' */ size?: Range['variants']['size']; /** * @defaultValue 'air-primary' */ color?: Range['variants']['color']; /** * The orientation of the range. * @defaultValue 'horizontal' */ orientation?: Range['variants']['orientation']; /** * Display a tooltip around the range thumbs with the current value. * `{ disableClosingTrigger: true }`{lang="ts-type"} * @defaultValue false */ tooltip?: boolean | TooltipProps; /** The value of the range when initially rendered. Use when you do not need to control the state of the range. */ defaultValue?: number | number[]; class?: any; b24ui?: Range['slots']; } export interface RangeEmits { change: [event: Event]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal<(RangeProps & { modelValue?: T; }) & { onChange?: ((event: Event) => any) | undefined; "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: {}; emit: ((evt: "change", event: Event) => void) & ((event: "update:modelValue", value: T | undefined) => void); }>) => import("vue").VNode & { __ctx?: Awaited; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};