import { ComputedRef, Reactive } from 'vue'; import { type CalendarSystem, type Timestamp } from '@timestamp-js/core'; /** * export of useTimesProps */ export declare const useTimesProps: { /** * Current timestamp override used for deterministic current-time rendering. * * @category behavior */ now: { type: StringConstructor; validator: (v: string) => boolean; default: string; }; }; export interface TimesProps { now: string; calendarSystem: CalendarSystem; } interface UseTimesReturn { times: Reactive<{ now: Timestamp; today: Timestamp; }>; parsedNow: ComputedRef; setCurrent: () => void; updateCurrent: () => void; getNow: () => Timestamp; updateDay: (_now: Timestamp, _target: Timestamp) => Timestamp; updateTime: (_now: Timestamp, _target: Timestamp) => Timestamp; } /** * Reactive timestamps & computed properties for time tracking */ export default function useTimes(props: { now: string; calendarSystem?: CalendarSystem; }): UseTimesReturn; export {};