import { LinkProps } from 'react-router-dom'; export interface LocalizedLinkProps extends Omit { to: string; /** * Optional specific language override */ language?: string; /** * Function to check if a language code is supported * If not provided, any 2-letter code is considered valid */ isLanguageSupported?: (lang: string) => boolean; /** * Default language to use when none is detected * @default 'en' */ defaultLanguage?: string; } /** * A Link component that automatically adds the current language prefix to paths. * * @example * ```tsx * // Current URL: /en/dashboard * About * // Renders: About * * // With language override * About (French) * // Renders: About (French) * ``` */ export declare function LocalizedLink({ to, language, children, isLanguageSupported, defaultLanguage, ...props }: LocalizedLinkProps): React.ReactElement; export default LocalizedLink; //# sourceMappingURL=LocalizedLink.d.ts.map