frontend/.pnpm-store/v3/files/dd/93dd0b2f49a7db11ccaf60c5f6001f978eb54aee7105d7bf3abe304037d37cc5c0a6c2a2b1c61f22d9f0d251a7678fb6777dbf1fc12178401a76ea9693ef7b

10 lines
670 B
Plaintext

import IntlMessageFormat from 'intl-messageformat';
import type { MemoizedIntlFormatter } from '../types';
declare type MemoizedNumberFormatterFactory = MemoizedIntlFormatter<Intl.NumberFormat, Intl.NumberFormatOptions>;
declare type MemoizedDateTimeFormatterFactory = MemoizedIntlFormatter<Intl.DateTimeFormat, Intl.DateTimeFormatOptions>;
export declare const getNumberFormatter: MemoizedNumberFormatterFactory;
export declare const getDateFormatter: MemoizedDateTimeFormatterFactory;
export declare const getTimeFormatter: MemoizedDateTimeFormatterFactory;
export declare const getMessageFormatter: (message: string, locale?: string) => IntlMessageFormat;
export {};