/**
 * Cancel command for Night Watch CLI
 * Gracefully stops a running executor or reviewer process
 */
import { Command } from 'commander';
export interface ICancelOptions {
    type: 'run' | 'review' | 'all';
    force?: boolean;
}
/**
 * Get lock file paths for a project
 */
export declare function getLockFilePaths(projectDir: string): {
    executor: string;
    reviewer: string;
};
/**
 * Prompt user for confirmation
 */
export declare function promptConfirmation(prompt: string): Promise<boolean>;
/**
 * Wait for specified milliseconds
 */
export declare function sleep(ms: number): Promise<void>;
/**
 * Check if a process is still running
 */
export declare function isProcessRunning(pid: number): boolean;
export interface ICancelResult {
    success: boolean;
    message: string;
    cleanedUp?: boolean;
}
/**
 * Attempt to cancel a single process
 */
export declare function cancelProcess(processType: 'executor' | 'reviewer', lockPath: string, force?: boolean): Promise<ICancelResult>;
/**
 * Cancel running execution
 */
export declare function performCancel(projectDir: string, options: ICancelOptions): Promise<ICancelResult[]>;
/**
 * Cancel command implementation
 */
export declare function cancelCommand(program: Command): void;
//# sourceMappingURL=cancel.d.ts.map