import { Formatters, IntlConfig, IntlFormatters } from '../types'; export declare function getFormatter({ locale, formats, onError, timeZone, }: Pick, type: 'date' | 'time', getDateTimeFormat: Formatters['getDateTimeFormat'], options?: Parameters[1]): Intl.DateTimeFormat; export declare function formatDate(config: Pick, getDateTimeFormat: Formatters['getDateTimeFormat'], value?: Parameters[0], options?: Parameters[1]): string; export declare function formatTime(config: Pick, getDateTimeFormat: Formatters['getDateTimeFormat'], value?: Parameters[0], options?: Parameters[1]): string; export declare function formatDateToParts(config: Pick, getDateTimeFormat: Formatters['getDateTimeFormat'], value?: Parameters[0], options?: Parameters[1]): Intl.DateTimeFormatPart[]; export declare function formatTimeToParts(config: Pick, getDateTimeFormat: Formatters['getDateTimeFormat'], value?: Parameters[0], options?: Parameters[1]): Intl.DateTimeFormatPart[];