/** * Time-of-day greeting key. * Maps to bundled i18n keys in `_global` namespace: goodMorning / goodAfternoon / goodEvening. */ export type TimeOfDayKey = 'goodMorning' | 'goodAfternoon' | 'goodEvening'; /** * Returns the i18n key for a time-of-day greeting based on the given date's hour. * * - 00:00 - 11:59 → 'goodMorning' * - 12:00 - 17:59 → 'goodAfternoon' * - 18:00 - 23:59 → 'goodEvening' * * Pure function (testable). Defaults to current local time. * * @example * import { getTimeOfDayKey } from 'valtech-components'; * * const key = getTimeOfDayKey(); // 'goodMorning' | 'goodAfternoon' | 'goodEvening' * const text = i18n.t(key); // 'Buenos días' | 'Buenas tardes' | 'Buenas noches' */ export declare function getTimeOfDayKey(date?: Date): TimeOfDayKey;