import { type SchemaTypes } from '@pothos/core'; import { type AnyRelations, type Column, type Table } from 'drizzle-orm'; import type { DrizzleClient } from '../types.js'; export interface PothosDrizzleSchemaConfig { skipDeferredFragments: boolean; relations: AnyRelations; findPrimaryKey: (tableName: string) => Column[] | null; findTieBreaker: (tableName: string) => Column[] | null; getPrimaryKey: (tableName: string) => Column[]; getUniqueConstraints: (tableName: string) => Column[][]; columnToTsName: (column: Column) => string; } export declare const drizzleClientCache: import("@pothos/core").ContextCache | import("drizzle-orm").SQLWrapper | import("drizzle-orm").SchemaEntry, Table>>, "query"> & { query: Record; }, object, []>, PothosSchemaTypes.SchemaBuilder, []>; export declare function getSchemaConfig(builder: PothosSchemaTypes.SchemaBuilder): PothosDrizzleSchemaConfig; export declare function getClient(builder: PothosSchemaTypes.SchemaBuilder, context: object): DrizzleClient; //# sourceMappingURL=config.d.ts.map