/** * App-level type generation. Emits a single `genTypes.d.ts` at * `process.cwd()` that augments `IApp` so `getConfig('foo')` and * `getModel('Bar')` are typed against the project's actual config / * model files. */ /** Subset of the framework logger we use here. */ export interface CodegenLogger { info?(msg: string): void; warn?(msg: string): void; error?(msg: string): void; } /** Render the `genTypes.d.ts` template text from config values + model paths. * * `configPaths` (config name → contributing source files) is optional: when * present, env-only keys dropped by the value pass are recovered from source * (see {@link valueToTypeString}). Omitted by unit tests that pass raw values. * `overriddenConfigPaths` (config name → framework files an app config * replaced) supplies the fallback env shape for undefined spread keys. */ export declare function getTemplate(configs: Map, modelPaths: { file: string; path: string; }[], configPaths?: Map, overriddenConfigPaths?: Map): Promise;