import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.6fr3ElRe.js'; import '../../shared/better-auth.Bi8FQwDD.js'; import 'zod'; import '../../shared/better-auth.BLX8BItA.js'; import 'jose'; import 'kysely'; import 'better-call'; import 'better-sqlite3'; interface PrismaConfig { /** * Database provider. */ provider: "sqlite" | "cockroachdb" | "mysql" | "postgresql" | "sqlserver" | "mongodb"; } interface PrismaClient { } declare const prismaAdapter: (prisma: PrismaClient, config: PrismaConfig) => (options: BetterAuthOptions) => { id: string; create, R = T>(data: { model: string; data: T; select?: string[]; }): Promise; findOne(data: { model: string; where: Where[]; select?: string[]; }): Promise; findMany(data: { model: string; where?: Where[]; limit?: number; sortBy?: { field: string; direction: "asc" | "desc"; }; offset?: number; }): Promise; count(data: { model: string; where?: Where[]; }): Promise; update(data: { model: string; where: Where[]; update: Record; }): Promise; updateMany(data: { model: string; where: Where[]; update: Record; }): Promise; delete(data: { model: string; where: Where[]; }): Promise; deleteMany(data: { model: string; where: Where[]; }): Promise; options: PrismaConfig; }; export { type PrismaConfig, prismaAdapter };