import { InstantAdminDatabase } from '@instantdb/admin'; import { createAdapterFactory, DBAdapterDebugLogOption, Where } from 'better-auth/adapters'; /** * The InstantDB adapter config options. */ interface InstantAdapterConfig { /** * The InstantDB admin database instance. */ db: InstantAdminDatabase; /** * If the table names in the schema are plural. */ usePlural?: boolean; /** * Helps you debug issues with the adapter. */ debugLogs?: DBAdapterDebugLogOption; } /** * The InstantDB adapter. */ export declare const instantAdapter: ({ db, usePlural, debugLogs }: InstantAdapterConfig) => ReturnType; export declare function parseWhere(where?: Where[]): Record; export {};