import type { Logger } from 'pino';
export type CancelReviewResult = {
    status: 'cancelled';
    jobId: string;
} | {
    status: 'not-found';
    jobId: string;
} | {
    status: 'already-completed';
    jobId: string;
};
export interface CancelReviewQueuePort {
    getJobStatus(jobId: string): 'queued' | 'running' | 'completed' | 'failed' | null;
    cancelJob(jobId: string): boolean;
}
export interface CancelReviewDependencies {
    queuePort: CancelReviewQueuePort;
    logger: Logger;
}
export declare function cancelReview(jobId: string, deps: CancelReviewDependencies): CancelReviewResult;
//# sourceMappingURL=cancelReview.usecase.d.ts.map