import { Database } from '../storage/db.js';
import type { Entry } from '../types.js';
export declare class QAService {
    private db;
    constructor(db: Database);
    logEntry(topicId: number, kind: Entry['kind'], content: string, sessionId?: string, questionId?: number): Entry;
    listEntries(topicId: number): Entry[];
    search(query: string): {
        id: number;
        topic_id: number;
        kind: string;
        content: string;
        created_at: string;
    }[];
}
