/**
 * PR Review Controller
 *
 * HTTP request handlers for GitHub PR webhook events and review status.
 * Receives webhook payloads, verifies signatures, and triggers automated
 * code reviews that post findings back as PR comments.
 *
 * @module controllers/pr-review/pr-review.controller
 */
import type { Request, Response, NextFunction } from 'express';
/**
 * POST /api/pr-review/webhook
 *
 * Receive GitHub PR webhook events. Verifies the signature, checks the
 * event type and action, then triggers an asynchronous review.
 * Returns 200 immediately to acknowledge receipt — the review runs
 * in the background.
 *
 * Required headers:
 * - X-GitHub-Event: must be "pull_request"
 * - X-Hub-Signature-256: HMAC signature of the body
 *
 * @param req - Express request with webhook payload
 * @param res - Express response (200 on accept, 400/401/202 on reject)
 * @param next - Express next function for error propagation
 */
export declare function handleWebhook(req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * POST /api/pr-review/review
 *
 * Manually trigger a PR review by providing the repository and PR number.
 * Useful for re-reviewing PRs or testing the review pipeline.
 *
 * @param req - Express request with { repo: string, prNumber: number }
 * @param res - Express response with review result
 * @param next - Express next function for error propagation
 */
export declare function triggerManualReview(req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * GET /api/pr-review/status
 *
 * Get the current PR review service status and statistics.
 *
 * @param _req - Express request (unused)
 * @param res - Express response with status data
 * @param next - Express next function for error propagation
 */
export declare function getPrReviewStatus(_req: Request, res: Response, next: NextFunction): Promise<void>;
//# sourceMappingURL=pr-review.controller.d.ts.map