import { BaseSqliteRepository } from './base-sqlite-repository.js'; import { thread_boxes } from '../schema/index.js'; export type ThreadBoxRow = typeof thread_boxes.$inferSelect; export type NewThreadBox = typeof thread_boxes.$inferInsert; export declare class ThreadBoxRepository extends BaseSqliteRepository { private readonly dbPath?; constructor(opts?: { dbPath?: string; dbRoot?: string; }); resolveDbPath(): string; private openHandle; private ensureThreadExists; findByThreadId(threadId: string): ThreadBoxRow[]; findById(threadId: string, boxId: string): ThreadBoxRow | undefined; insert(data: Omit & { id: string; threadId: string; }): ThreadBoxRow; }