import type { IIntegrityPath, ILocalizedPathModuleConfiguration } from '@microsoft/sp-module-interfaces'; import type { WebpackAssets } from '../../plugins/webpackConfigurationPlugin/webpackPlugins/webpackTypes'; /** * @internal */ export type LocalizedPaths = Record; /** * @internal */ export interface IGenerateLocalizedManifestModuleOptionsBase { bundleName: string; localizedPaths: { [locale: string]: string | IIntegrityPath; }; firstPassLocaleRemapping: Map | undefined; production: boolean; selectedLocales: ReadonlySet | undefined; } /** * @internal */ export interface IGenerateLocalizedManifestModuleGenerateIntegrityOptions extends IGenerateLocalizedManifestModuleOptionsBase { generateIntegrity?: boolean; assets: WebpackAssets; } /** * @internal */ export interface IGenerateLocalizedManifestModuleExistingIntegrityOptions extends IGenerateLocalizedManifestModuleOptionsBase { generateIntegrity?: never; assets?: never; } /** * @internal */ export type IGenerateLocalizedManifestModuleOptions = IGenerateLocalizedManifestModuleGenerateIntegrityOptions | IGenerateLocalizedManifestModuleExistingIntegrityOptions; /** * @internal */ export declare class LocalizedManifestModuleProcessor { static readonly LOCALE_MAPPING: Map; static LOCALE_FALLBACK: Map; static generateLocalizedManifestModule({ bundleName, localizedPaths, firstPassLocaleRemapping, production, selectedLocales, assets, generateIntegrity }: IGenerateLocalizedManifestModuleOptions): ILocalizedPathModuleConfiguration; static findDefaultString(localizedPaths: Record): string | undefined; static findDefaultString(localizedPaths: LocalizedPaths): string | IIntegrityPath | undefined; static applyLocaleRemapping(manifestLocalizedPaths: LocalizedPaths, localeRemapping: Map): void; } //# sourceMappingURL=LocalizedManifestModuleProcessor.d.ts.map