import type { Time } from "@internationalized/date"; import { DOMContext, type ReadableBoxedValues, type WritableBoxedValues } from "svelte-toolbelt"; import { Context } from "runed"; import { TimeFieldRootState } from "../time-field/time-field.svelte.js"; import { TimeFieldInputState } from "../time-field/time-field.svelte.js"; import type { TimeSegmentPart } from "../../shared/index.js"; import type { RefAttachment, WithRefOpts } from "../../internal/types.js"; import type { TimeGranularity, TimeOnInvalid, TimeRange, TimeRangeValidator, TimeValue } from "../../shared/date/types.js"; import { type TimeFormatter } from "../../internal/date-time/formatter.js"; export declare const timeRangeFieldAttrs: import("../../internal/attrs.js").CreateBitsAttrsReturn; export declare const TimeRangeFieldRootContext: Context>; interface TimeRangeFieldRootStateOpts extends WithRefOpts, WritableBoxedValues<{ value: TimeRange; placeholder: TimeValue; startValue: T | undefined; endValue: T | undefined; }>, ReadableBoxedValues<{ readonlySegments: TimeSegmentPart[]; validate: TimeRangeValidator | undefined; onInvalid: TimeOnInvalid | undefined; minValue: TimeValue | undefined; maxValue: TimeValue | undefined; disabled: boolean; readonly: boolean; granularity: TimeGranularity | undefined; hourCycle: 12 | 24 | undefined; locale: string; hideTimeZone: boolean; required: boolean; errorMessageId: string | undefined; }> { } export declare class TimeRangeFieldRootState { #private; static create(opts: TimeRangeFieldRootStateOpts): TimeRangeFieldRootState