import type Database from 'better-sqlite3';
import type { DecisionRecord, DecisionCategory, DecisionStatus } from '../../types/decision.types.js';
type CreateDecisionData = Omit<DecisionRecord, 'id' | 'created_at' | 'updated_at'>;
export declare class DecisionRepository {
    private db;
    private stmts;
    constructor(db: Database.Database);
    create(data: CreateDecisionData): number;
    getById(id: number): DecisionRecord | undefined;
    findByProject(projectId: number, limit?: number): DecisionRecord[];
    findByCategory(category: DecisionCategory, projectId?: number, status?: DecisionStatus, limit?: number): DecisionRecord[];
    findActive(projectId?: number, limit?: number): DecisionRecord[];
    search(query: string, limit?: number): DecisionRecord[];
    supersede(oldId: number, newId: number): void;
    update(id: number, data: Partial<DecisionRecord>): void;
}
export {};
