/** * Runtime packages the generated TypeScript code imports (entities, services, * controllers, guards). Versions match the pinned service-template-ts tag * (see TEMPLATE_REFS in ./template.ts); bump both together. */ export declare const APSO_CRUD_DEPS: Record; /** * Add any missing @apso/crud runtime packages to the project's package.json. * * Projects created from the v1 template (@nestjsx/crud) don't declare them, so * freshly generated code fails `nest build` with TS2307 "Cannot find module * '@apso/crud'" on every entity. Existing @nestjsx deps are left alone because * hand-written code may still import them. * * @param {string} projectDir - Directory holding the project's package.json. * @returns {string[]} Names added (empty when nothing changed or no package.json). */ export declare function ensureCrudDeps(projectDir: string): string[]; /** * Add the given dependencies to package.json where it doesn't declare them. * * @param {string} projectDir - Directory holding the project's package.json. * @param {Record} deps - Package names and version ranges. * @returns {string[]} Names added (empty when nothing changed or no package.json). */ export declare function addMissingDeps(projectDir: string, deps: Record): string[];