import { SharedLibraryConfig } from './mf-webpack'; export type MFRemotes = string[] | [remoteName: string, remoteUrl: string][]; type SharedFunction = (libraryName: string, sharedConfig: SharedLibraryConfig) => SharedLibraryConfig | false; type AdditionalSharedConfig = Array; export interface MFConfig { name: string; remotes?: MFRemotes; exposes?: Record; shared?: SharedFunction; additionalShared?: AdditionalSharedConfig; } export declare function withModuleFederation(options: MFConfig): Promise<(config: any) => any>; export {};