/** * A placeholder function for loading dictionaries that contain localized content. * * This function: * * - Should be used in React Server Components * - Should be passed into the `LingoProvider` component * - Is transformed into functional code by Lingo.dev Compiler * * @param locale - The locale code for which to load the dictionary. * * @returns Promise that resolves to the dictionary object containing localized content. * * @example Use in a Next.js (App Router) application * ```tsx file="app/layout.tsx" * import { LingoProvider, loadDictionary } from "lingo.dev/react/rsc"; * * export default function RootLayout({ * children, * }: Readonly<{ * children: React.ReactNode; * }>) { * return ( * loadDictionary(locale)}> * * * {children} * * * * ); * } * ``` */ export declare const loadDictionary: (locale: string | null) => Promise; export declare const loadDictionary_internal: (locale: string | null, dictionaryLoaders?: Record Promise>) => Promise;