interface Props { /** The current locale of the article */ locale: string | undefined; /** Whether the article is embedded */ embedded?: boolean; /** * SvelteKit's `resolve` function from `$app/paths`, used to build locale links * against your project's base path. Defaults to an identity function. */ resolve?(pathname: string): string; /** Options for the language toggle button */ buttonOptions?: { locale: string; label: string; }; /** Custom function for handling URL changes for locales and embed versions. */ setUrl?: () => string; } /** * A toggle link that switches an article between two locales (English/Spanish by default), handling both embed and standalone URLs. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-languagebutton--docs) */ declare const LanguageButton: import("svelte").Component; type LanguageButton = ReturnType; export default LanguageButton;