export declare const directionOfLocale: (localeTag: string) => "ltr" | "rtl"; /** * Switches the application locale at runtime. * Updates the URL with a `lang` query parameter so the router's * GLOBAL_QUERYPARAMS propagates it to new tabs, * Updates the document lang parameter for accessibility, * and hot-reloads locale bundles so the UI updates without a full page reload. * * @param locale - The new locale to switch to. Example: 'fr-FR', 'de-DE', 'en-GB' * @example * PCore.switchLocale('fr-FR'); */ declare function switchLocale(locale: string): Promise; export default switchLocale;