import type { JaitDB } from "../db/connection.js";
import { automationRepoProposals } from "../db/schema.js";
export interface CreateRepoProposalParams {
    repoId: string;
    userId?: string;
    message: string;
    status?: string;
    priority?: string;
    dueDate?: string | null;
    tags?: string[];
    sourceThreadId?: string | null;
    sourceThreadTitle?: string | null;
}
export interface UpdateRepoProposalParams {
    message?: string;
    status?: string;
    priority?: string;
    dueDate?: string | null;
    tags?: string[];
}
export type RepoProposalRow = typeof automationRepoProposals.$inferSelect;
export declare class RepoProposalService {
    private db;
    constructor(db: JaitDB);
    listByRepo(repoId: string): RepoProposalRow[];
    getById(id: string): RepoProposalRow | undefined;
    create(params: CreateRepoProposalParams): RepoProposalRow;
    update(id: string, params: UpdateRepoProposalParams): RepoProposalRow | undefined;
    delete(id: string): void;
}
//# sourceMappingURL=repo-proposals.d.ts.map