import { DatabaseAdapter } from "../database"; import { Account, Actor, GoalStatus, type Goal, type Memory, type Relationship, type UUID, Participant } from "../types"; import { Database } from "./sqljs/types"; export declare class SqlJsDatabaseAdapter extends DatabaseAdapter { getRoom(room_id: UUID): Promise; getParticipantsForAccount(user_id: UUID): Promise; getParticipantsForRoom(room_id: UUID): Promise; db: Database; constructor(db: Database); getAccountById(user_id: UUID): Promise; createAccount(account: Account): Promise; getActorDetails(params: { room_id: UUID; }): Promise; createMemory(memory: Memory, tableName: string): Promise; searchMemories(params: { tableName: string; room_id: UUID; embedding: number[]; match_threshold: number; match_count: number; unique: boolean; }): Promise; searchMemoriesByEmbedding(_embedding: number[], params: { match_threshold?: number; count?: number; room_id?: UUID; unique?: boolean; tableName: string; }): Promise; getCachedEmbeddings(opts: { query_table_name: string; query_threshold: number; query_input: string; query_field_name: string; query_field_sub_name: string; query_match_count: number; }): Promise<{ embedding: number[]; levenshtein_score: number; }[]>; updateGoalStatus(params: { goalId: UUID; status: GoalStatus; }): Promise; log(params: { body: { [key: string]: unknown; }; user_id: UUID; room_id: UUID; type: string; }): Promise; getMemories(params: { room_id: UUID; count?: number; unique?: boolean; tableName: string; }): Promise; removeMemory(memoryId: UUID, tableName: string): Promise; removeAllMemories(room_id: UUID, tableName: string): Promise; countMemories(room_id: UUID, unique?: boolean, tableName?: string): Promise; getGoals(params: { room_id: UUID; user_id?: UUID | null; onlyInProgress?: boolean; count?: number; }): Promise; updateGoal(goal: Goal): Promise; createGoal(goal: Goal): Promise; removeGoal(goalId: UUID): Promise; removeAllGoals(room_id: UUID): Promise; createRoom(room_id?: UUID): Promise; removeRoom(room_id: UUID): Promise; getRoomsForParticipant(user_id: UUID): Promise; getRoomsForParticipants(userIds: UUID[]): Promise; addParticipant(user_id: UUID, room_id: UUID): Promise; removeParticipant(user_id: UUID, room_id: UUID): Promise; createRelationship(params: { userA: UUID; userB: UUID; }): Promise; getRelationship(params: { userA: UUID; userB: UUID; }): Promise; getRelationships(params: { user_id: UUID; }): Promise; }