/** * A placeholder function for loading dictionaries that contain localized content. * * This function: * * - Should be used in client-side rendered applications (e.g., Vite-based apps) * - Should be passed into the `LingoProviderWrapper` component * - Is transformed into functional code by Lingo.dev Compiler * * @param locale - The locale to load the dictionary for. * * @returns Promise that resolves to the dictionary object containing localized content. * * @example Use in a Vite application * ```tsx * import React from "react"; * import ReactDOM from "react-dom/client"; * import { LingoProviderWrapper, loadDictionary } from "lingo.dev/react/client"; * import { App } from "./App.tsx"; * * ReactDOM.createRoot(document.getElementById("root")!).render( * * loadDictionary(locale)}> * * * , * ); * ``` */ export declare const loadDictionary: (locale: string | null) => Promise; export declare const loadDictionary_internal: (locale: string | null, dictionaryLoaders?: Record Promise>) => Promise;