/** * **The next name in a day's series** - `{head}-YYYYMMDD-NNN`: an order, a visit, an appointment, a move. * * The day is the site's (`calendarDay(domain.timezone, at)` without its dashes) - a server clock in another country * would date a night shift's work on the wrong day. The number is one past the highest already taken that day, not * the count: a deleted row must not hand its successor a name that is still in use. A name that does not fit the * pattern is ignored. Lifted on 2026-11-18 from the yard (`nextName`); plant's `nextOrderName` (two copies, server * clock, count + 1) was the case it fixes. * * ```ts * const day = compactDay(calendarDay(domain.timezone, now)) * const taken = await repo.find({ select: ['name'], where: { domain, name: Like(`WO-${day}-%`) } }) * nextDailyName('WO', day, taken.map(one => one.name)) // WO-20261118-004 * ``` */ export declare function nextDailyName(head: string, day: string, taken: readonly string[], width?: number): string; /** `2026-11-18` → `20261118` - the day as a name carries it. */ export declare function compactDay(day: string): string;