/** * Golden-path assets: IR-aligned OpenAPI is supplied by the caller (deterministic exporter). * This module only applies Docker Compose, Dockerfile, Makefile, README section, and port patches. * * `hostPort` is the machine port (left side of docker publish). Container listens on 8080. */ export type GoldenLayerOptions = { /** Host port for `docker compose` publish (default 8080). Container port stays 8080. */ hostPort?: number; }; export type GoldenStack = 'fastapi' | 'express'; /** Normalize generated main.py uvicorn port to 8080 if present. */ export declare function patchMainPyPort8080(content: string): string; /** Merge golden Docker/Makefile/README into an existing FastAPI file map. Caller must already set openapi.yaml from the deterministic exporter. */ export declare function applyFastApiGoldenLayer(filesMap: Record, options?: GoldenLayerOptions): void; /** Normalize Express entry to listen on 8080 by default. */ export declare function patchExpressIndexPort8080(content: string): string; export declare function mergePackageJsonScripts(pkg: string): string; /** Golden layer for Express: expects openapi.yaml (and app files) from caller when available. */ export declare function applyNodeExpressGoldenLayer(filesMap: Record, options?: GoldenLayerOptions): void; //# sourceMappingURL=golden-bundle.d.ts.map