/** * Portable Moment-like date formatter subset. */ import { type PlainDateTime } from './types.js'; export declare function formatDateTime(value: PlainDateTime, format: string | undefined, localeName: string | undefined): string; export declare function validateDateFormat(format: string): void; /** * The minutes token of a format that has no other clock in it, or `undefined`. * * `mm` is minutes, while `%m` and a hand-written `yyyy-mm-dd` mean the month, so * the lowercase month is an easy habit to bring in. A format with minutes and * neither an hour nor a second beside them almost always means the month, and a * date drawn without a time then prints month `00` on every row while the run says * nothing. A clock part anywhere in the format, a named one included, means the * minutes were meant. Walked the way {@link validateDateFormat} walks, so a * bracketed literal is never read as a token. */ export declare function minutesWithoutClock(format: string): string | undefined; //# sourceMappingURL=format.d.ts.map