import { type SchemaTypes } from '@pothos/core'; import type { PrismaClient } from '../types.js'; export interface DMMFField { type: string; kind: string; name: string; isRequired: boolean; isList: boolean; hasDefaultValue: boolean; isUnique: boolean; isId: boolean; documentation?: string; relationName?: string; relationFromFields?: string[]; isUpdatedAt?: boolean; } export interface DMMF { datamodel: { models: { name: string; fields: DMMFField[]; primaryKey: { name: string | null; fields: string[]; } | null; uniqueIndexes: { name: string | null; fields: string[]; }[]; documentation?: string; }[]; }; } export interface RuntimeDataModel { models: Record; } export declare const prismaClientCache: import("@pothos/core").ContextCache, PothosSchemaTypes.SchemaBuilder, [ ]>; export declare function getClient(builder: PothosSchemaTypes.SchemaBuilder, context: Types["Context"]): PrismaClient; export declare function getDMMF(builder: PothosSchemaTypes.SchemaBuilder): DMMF["datamodel"] | RuntimeDataModel; //# sourceMappingURL=get-client.d.ts.map