import { CleanedWhere } from "better-auth/adapters"; import { JazzRepository } from "./generic"; import type { TableItem } from "../schema"; export declare class AccountRepository extends JazzRepository { /** * Custom logic: * - keep sync accountId index */ create(model: string, data: Record, uniqueId?: string): Promise; /** * Custom logic: * - if the accountId is in the where clause, get the ids from the index */ findMany(model: string, where: CleanedWhere[] | undefined, limit?: number, sortBy?: { field: string; direction: "asc" | "desc"; }, offset?: number): Promise; deleteValue(model: string, where: CleanedWhere[]): Promise; private getAccountIdIndex; private updateAccountIdIndex; private deleteAccountIdIndex; private getAccountIdProperty; } //# sourceMappingURL=account.d.ts.map