import type { GeneratorOptions } from '@prisma/generator-helper'; /** * Resolve the `isEnabled` generator config value. * * Prisma passes custom `env()` config properties as the raw env var **name**, * not the resolved value. This function handles both cases: * - Direct value: `isEnabled = "true"` → configValue is `"true"` * - Env reference: `isEnabled = env("GENERATE_ENT")` → configValue is `"GENERATE_ENT"` * * Returns true when the final resolved value is "true" (case-insensitive). */ export declare function isEnabled(configValue?: string): boolean; /** * Main generator function — receives the full Prisma DMMF and generator config, * then writes a complete Go Ent installation to the output directory. * * Output structure: * / * generate.go — go:generate directive to run ent codegen * entc.go — ent codegen configuration (build-tag guarded) * schema/ * user.go — one schema file per Prisma model * post.go * ... */ export declare function generate(options: GeneratorOptions): Promise; //# sourceMappingURL=generator.d.ts.map