bpms_site/.svn/pristine/22/2295991db8c248cc6ee614043b310276350c9c4f.svn-base
2025-11-02 16:38:49 +03:30

22 lines
673 B
Plaintext

import type { DomainLocale } from '../../../server/config';
import type { I18NConfig } from '../../../server/config-shared';
interface Options {
defaultLocale: string;
domainLocale?: DomainLocale;
headers?: {
[key: string]: string | string[] | undefined;
};
nextConfig: {
basePath?: string;
i18n?: I18NConfig | null;
trailingSlash?: boolean;
};
pathLocale?: string;
urlParsed: {
hostname?: string | null;
pathname: string;
};
}
export declare function getLocaleRedirect({ defaultLocale, domainLocale, pathLocale, headers, nextConfig, urlParsed, }: Options): string | undefined;
export {};