import { R as ResolvedConfig, D as DeepPartial } from './types-DagT1k5w.js'; export { C as Config, b as DomainConfig, a as DomainsConfig, M as MessageEntry, d as MessagesConfig, P as PrefixConfig, c as RoutesConfig } from './types-DagT1k5w.js'; import 'intl-messageformat'; /** * The default configuration for NextGlobeGen. */ declare const DEFAULT_CONFIG: ResolvedConfig; /** * Deep merges two configuration objects, combining default config with user-provided config. * Handles special merging logic for domains, messages, and routes. * @param a - The base configuration (typically DEFAULT_CONFIG) * @param b - The partial user configuration to merge * @returns The merged configuration object */ declare function mergeConfigs(a: ResolvedConfig, b: DeepPartial): ResolvedConfig; /** * Extracts all supported locales from the configuration. * For prefix-based routing, returns the locales array directly. * For domain-based routing, extracts and deduplicates locales from all domains, * sorted by length (longest first) for proper matching. * @param config - The configuration object * @returns Array of locale codes */ declare function getLocales(config: ResolvedConfig): string[]; /** * Determines which locales should not have a prefix in their URLs. * For prefix-based routing: returns empty set if prefixDefaultLocale is true, * otherwise returns a set containing only the default locale. * For domain-based routing: returns the default locales of domains * where prefixDefaultLocale is false. * @param config - The configuration object * @returns A Set of locale codes that should not be prefixed */ declare function getUnPrefixedLocales(config: ResolvedConfig): Set; export { DEFAULT_CONFIG, DeepPartial, ResolvedConfig, getLocales, getUnPrefixedLocales, mergeConfigs };