import { YearlessDate } from '../../../../components/DateFieldYearless/types'; /** * Yearless date format preset options */ export type YearlessDateFormatPreset = "short" | "long"; /** * Options type for the yearless date formatter function */ export type YearlessDateFormatterOptions = { /** * The locale to use for the yearless date formatter * @default "en-US" */ locale?: Intl.LocalesArgument; /** * The format preset or Intl.DateTimeFormatOptions object * - "short": Jan 05 * - "long": January 05 * - Intl.DateTimeFormatOptions: Custom format (e.g., { month: "long", day: "numeric" }) * @default "short" */ format?: YearlessDateFormatPreset | Intl.DateTimeFormatOptions; }; /** * Helper function for formatting table cells with month and day (no year), including i18n support * @param value - The yearless date value to format. Accepts: * - Temporal PlainMonthDay string format: "--MM-DD" (e.g., "--01-15") * - YearlessDate object: { month: number, day: number } * @param options - The options for the yearless date formatter * @returns The formatted month-day string or null for undefined/null values */ export declare const yearlessDateFormatter: (value?: string | YearlessDate | null, { locale, format }?: YearlessDateFormatterOptions) => string | null;