import { Header } from '@devvit/shared-types/Header.js';
export function getDependencyMetadata(bundle) {
    const deps = bundle?.buildInfo?.dependencies;
    if (!deps) {
        return {};
    }
    const values = Object.entries(deps).map(([pkg, version]) => `${pkg}=${version}`);
    return { [Header.AppDependencies]: { values } };
}
