import { type FormatDatetimeOptions } from "./format.js"; import { type FormatDateKind } from "./detect.js"; export type FormatDateOptions = FormatDatetimeOptions & { /** Output preset. Default `auto` detects ISO date / HH:mm / instant. */ kind?: FormatDateKind; /** Treat `Date` as calendar pick (react-day-picker) — not an instant. */ calendar?: boolean; }; /** * **Single entry point** for all date/time display in GX apps. * * - Defaults: locale, timezone, timeFormat from AppProvider (`syncDatetimeContext`) * - Optional overrides: `{ timezone: "Asia/Tokyo" }` per call * - Auto-detect: `"2026-05-01"` → date, `"14:30"` → time, ISO instant → datetime * - International patterns: ISO 8601 date (`yyyy-MM-dd`) + ISO datetime (`yyyy-MM-dd HH:mm`) */ export declare function formatDate(value: string | Date | null | undefined, options?: FormatDateOptions): string; /** True when value looks like a displayable date/time (string or valid Date). */ export declare function isFormatDateValue(value: unknown): value is string | Date;