import type { ActiveConnectorType } from '@prisma/generator'; import type { BinaryPaths } from '@prisma/generator'; import type { DataSource } from '@prisma/generator'; import type * as DMMF from '@prisma/dmmf'; import { Generator as Generator_2 } from '@prisma/generator'; import { GeneratorConfig } from '@prisma/generator'; import { GeneratorManifest } from '@prisma/generator'; import { GeneratorOptions } from '@prisma/generator'; import { getInternalDMMF as getDMMF } from '@prisma/internals'; import type { SqlQueryOutput } from '@prisma/generator'; /** * @internal * @remarks Used by, for example, the PDP to avoid child process calls to the CLI. */ export declare function dmmfToTypes(dmmf: DMMF.Document): string; export declare function generateClient(options: GenerateClientOptions): Promise; export declare interface GenerateClientOptions { datamodel: string; schemaPath: string; /** Runtime path used in runtime/type imports */ runtimeBase?: string; outputDir: string; generator: GeneratorConfig; dmmf: DMMF.Document; datasources: DataSource[]; binaryPaths: BinaryPaths; testMode?: boolean; copyRuntime?: boolean; copyRuntimeSourceMaps?: boolean; runtimeSourcePath: string; engineVersion: string; clientVersion: string; activeProvider: ActiveConnectorType; typedSql?: SqlQueryOutput[]; compilerBuild: 'fast' | 'small'; } export { getDMMF } export declare class PrismaClientJsGenerator implements Generator_2 { #private; readonly name: "prisma-client-js"; constructor({ shouldResolvePrismaClient, runtimePath }?: PrismaClientJsGeneratorOptions); getManifest(config: GeneratorConfig): Promise; generate(options: GeneratorOptions): Promise; } declare type PrismaClientJsGeneratorOptions = { shouldResolvePrismaClient?: boolean; shouldInstallMissingPackages?: boolean; runtimePath?: string; }; export { }