export type BundledPluginPathPair = { source: string; built: string; }; export type BundledPluginMetadataEntry = { dirName: string; idHint: string; source: BundledPluginPathPair; setupSource?: BundledPluginPathPair; packageName?: string; packageVersion?: string; packageDescription?: string; packageManifest?: Record; manifest: Record; }; export function collectBundledPluginMetadata(params?: { repoRoot?: string; }): BundledPluginMetadataEntry[]; export function renderBundledPluginMetadataModule(entries: BundledPluginMetadataEntry[]): string; export function writeBundledPluginMetadataModule(params?: { repoRoot?: string; outputPath?: string; check?: boolean; }): { changed: boolean; wrote: boolean; outputPath: string; };