import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.6fr3ElRe.js'; export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.6fr3ElRe.js'; import { z } from 'zod'; import '../shared/better-auth.Bi8FQwDD.js'; import '../shared/better-auth.BLX8BItA.js'; import 'jose'; import 'kysely'; import 'better-call'; import 'better-sqlite3'; declare function getWithHooks(adapter: Adapter, ctx: { options: BetterAuthOptions; hooks: Exclude[]; }): { createWithHooks: >(data: T, model: "session" | "user" | "account" | "verification", customCreateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; }, context?: GenericEndpointContext) => Promise; updateWithHooks: >(data: any, where: Where[], model: "session" | "user" | "account" | "verification", customUpdateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; }, context?: GenericEndpointContext) => Promise; updateManyWithHooks: >(data: any, where: Where[], model: "session" | "user" | "account" | "verification", customUpdateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; }, context?: GenericEndpointContext) => Promise; }; declare function toZodSchema(fields: Record): z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare function getAdapter(options: BetterAuthOptions): Promise; declare function convertToDB>(fields: Record, values: T): T; declare function convertFromDB>(fields: Record, values: T | null): T | null; declare function matchType(columnDataType: string, fieldType: FieldType, dbType: KyselyDatabaseType): boolean; declare function getMigrations(config: BetterAuthOptions): Promise<{ toBeCreated: { table: string; fields: Record; order: number; }[]; toBeAdded: { table: string; fields: Record; order: number; }[]; runMigrations: () => Promise; compileMigrations: () => Promise; }>; declare function getSchema(config: BetterAuthOptions): Record; order: number; }>; export { FieldAttribute, FieldType, convertFromDB, convertToDB, getAdapter, getMigrations, getSchema, getWithHooks, matchType, toZodSchema };