import { Tree } from '@nx/devkit'; import { GenerateModelsGeneratorSchema } from './schema'; export declare function generateModels(models: readonly any[], enums: readonly any[], prismaImportPath: string): string; export declare function generateEnums(enums: readonly any[], prismaImportPath: string): string; export declare function generateIndex(): string; /** * Resolve the Prisma wrapper import path. Prefers an explicit override, otherwise * finds the tsconfig.base.json path alias that maps to libs/api/prisma/src/index.ts. * Fails loudly if neither is available. */ export declare function resolvePrismaImportPath(tree: Tree, override?: string): string; export declare function generateModelsLogic(tree: Tree, schema: GenerateModelsGeneratorSchema): Promise; export default function (tree: Tree, schema: GenerateModelsGeneratorSchema): Promise;