bpms_site/.svn/pristine/aa/aad84e15ca2bbe26e308318f02edb61e2b5e146b.svn-base
2025-11-02 16:38:49 +03:30

17 lines
562 B
Plaintext

import { I18NProvider } from '../helpers/i18n-provider';
import { Normalizer } from './normalizer';
/**
* Normalizes the pathname by removing the locale prefix if any.
*/
export declare class LocaleRouteNormalizer implements Normalizer {
private readonly provider;
constructor(provider: I18NProvider);
/**
* Normalizes the pathname by removing the locale prefix if any.
*
* @param pathname The pathname to normalize.
* @returns The pathname without the locale prefix (if any).
*/
normalize(pathname: string): string;
}