import { Temporal } from 'temporal-polyfill'; export declare function useDateTimeFormat(): { toDate: (date: Temporal.PlainDate) => string; toDateTime: (datetime: Temporal.ZonedDateTime, withSeconds?: boolean) => string; toTime: (instant: Temporal.Instant, withSeconds?: boolean) => string; fromNow: (target: Temporal.Instant, now?: Temporal.Instant) => string; secondsToDuration: (seconds: number, format?: "long" | "narrow" | "short") => string; };