import type { JaitDB } from "../db/connection.js";
import { automationRepoProposals } from "../db/schema.js";
import type { CreateJaitTodoRequest, UpdateJaitTodoRequest } from "@jait/shared/types";
export interface CreateRepoProposalParams extends CreateJaitTodoRequest {
    repoId: string;
    userId?: string;
}
export interface UpdateRepoProposalParams extends UpdateJaitTodoRequest {
}
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