export type { TimeValue } from './createTimePicker.svelte'; import { type EditorDir, type EditorSize } from './editor-contract'; import { type TimeValue, type TimeFormat, type TimeSelection } from './createTimePicker.svelte'; /** User-facing strings (localizable via `messages`). */ type TimeMessages = { label: string; am: string; pm: string; now: string; }; type Props = { /** Date, "HH:MM[:SS]" string, or epoch ms. */ value?: TimeValue; /** Fires with a Date (today's date carrying the picked time). */ onChange?: (value: Date) => void; format?: TimeFormat; minuteInterval?: number; /** After picking an hour, jump the dial to minutes. Default true. */ autoSwitchToMinutes?: boolean; /** Show the Now footer button. */ footer?: boolean; disabled?: boolean; readonly?: boolean; name?: string; /** Which dial opens first. */ selection?: TimeSelection; /** Text direction (rtl mirrors layout; auto/undefined inherits). */ dir?: EditorDir; /** Override the built-in strings (group label + AM/PM/Now). */ messages?: Partial; label?: string; hint?: string; error?: string; required?: boolean; invalid?: boolean; size?: EditorSize; id?: string; }; declare const SvTimePicker: import("svelte").Component; type SvTimePicker = ReturnType; export default SvTimePicker;