import type { ZephyrLegacyModuleFederationConfig, ZephyrModuleFederationBuildMetadata, ZephyrModuleFederationConfig } from 'zephyr-edge-contract';
/**
 * Retains every independent config in a stable order, collapsing exact duplicates and
 * rejecting two different configs that claim the same container name or entry path.
 */
export declare function mergeModuleFederationConfigs(configs: readonly (readonly ZephyrModuleFederationConfig[] | undefined)[]): ZephyrModuleFederationConfig[];
/**
 * Preserve the established single-config snapshot field only when it has an unambiguous,
 * complete legacy representation. Multi-container consumers use `mfConfigs` and must not
 * accidentally receive an arbitrary first entry.
 */
export declare function getLegacyModuleFederationConfig(configs: readonly ZephyrModuleFederationConfig[] | undefined): ZephyrLegacyModuleFederationConfig | undefined;
/**
 * Mirrors config merging for build stats so the dashboard and snapshot advertise the
 * exact same set of containers.
 */
export declare function mergeModuleFederationBuildMetadata(metadata: readonly (readonly ZephyrModuleFederationBuildMetadata[] | undefined)[]): ZephyrModuleFederationBuildMetadata[];
//# sourceMappingURL=federation-config-metadata.d.mts.map