import type { LogEntry, LogQuery } from "@skaile/workspaces/types"; export interface LocalQueryResult { entries: LogEntry[]; nextCursor?: string; } /** * Open a SQLite log DB read-only and run a filtered SELECT mirroring the * `LogQuery` shape used by `SessionLogsService` in platform. Returns up to * `q.limit` (default 200) entries in chronological order with an optional * `nextCursor` for backward pagination. * * Uses the runtime's native SQLite driver — `bun:sqlite` under Bun, * `node:sqlite` under Node — via {@link openSqlite}. */ export declare function localQuery(dbPath: string, q: Omit & { sessionId: string; }): LocalQueryResult; //# sourceMappingURL=local-query.d.ts.map