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 MemoryDB { [key: string]: any[]; } declare const memoryAdapter: (db: MemoryDB) => (options: BetterAuthOptions) => { id: string; create: , R = T>({ model, data }: { model: string; data: T; select?: string[]; }) => Promise; findOne: ({ model, where, select }: { model: string; where: Where[]; select?: string[]; }) => Promise; findMany: ({ model, where, sortBy, limit, offset }: { model: string; where?: Where[]; limit?: number; sortBy?: { field: string; direction: "asc" | "desc"; }; offset?: number; }) => Promise; count: ({ model }: { model: string; where?: Where[]; }) => Promise; update: ({ model, where, update }: { model: string; where: Where[]; update: Record; }) => Promise; delete: ({ model, where }: { model: string; where: Where[]; }) => Promise; deleteMany: ({ model, where }: { model: string; where: Where[]; }) => Promise; updateMany(data: { model: string; where: Where[]; update: Record; }): any; }; export { type MemoryDB, memoryAdapter };