import { date } from "@intlayer/core/formatters"; //#region src/server/format/useDate.d.ts /** * On the server side, hook returning a `date` formatter bound to the ambient * locale: the server context, falling back to the locale carried by the * request. A per-call `locale` option still wins. * * Reimplemented rather than re-exported from `react-intlayer/server/format`: * that one takes no locale argument, so there is no way to hand it the ambient * locale — it would read the server context alone and format with the default * locale on any render the provider did not reach. * * The options argument is either a preset name or an options object, so the * preset is resolved before the locale is merged in — spreading the string * itself would scatter its characters and drop the preset. */ export declare const useDate: () => (...args: Parameters) => string; //#endregion //# sourceMappingURL=useDate.d.ts.map