import { LocaleProperties } from './getLocaleProperties'; export type FullCustomMapping = Record; export type CustomMapping = Record>; export declare const getCustomProperty: (customMapping: CustomMapping, locale: string, property: keyof LocaleProperties) => string | undefined; /** * Checks if a given locale should use the canonical locale. * @param locale - The locale to check if it should use the canonical locale * @param customMapping - The custom mapping to use for checking if the locale should use the canonical locale * @returns True if the locale should use the canonical locale, false otherwise */ export declare const shouldUseCanonicalLocale: (locale: string, customMapping: CustomMapping) => boolean;