/**
 * Quality Gate REST Controller
 *
 * Exposes quality gate operations via REST API for orchestrator bash skills.
 * Wraps the QualityGateService to provide an HTTP endpoint for running
 * quality gates (typecheck, tests, build, lint) against a project.
 *
 * @module controllers/quality-gate/quality-gate.controller
 */
import type { Request, Response, NextFunction } from 'express';
/**
 * POST /api/quality-gates/check
 *
 * Run quality gates against a project directory. Executes configured quality
 * gates (typecheck, tests, build, lint) and returns pass/fail results for each.
 *
 * @param req - Express request with body: { projectPath?, gates?, skipOptional? }
 * @param res - Express response returning { success, data: GateRunResults }
 * @param next - Express next function for error propagation
 *
 * @example
 * ```
 * POST /api/quality-gates/check
 * {
 *   "projectPath": "/path/to/project",
 *   "gates": ["typecheck", "tests"],
 *   "skipOptional": true
 * }
 * ```
 */
export declare function checkQualityGates(req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * POST /api/quality-gates/pre-commit
 *
 * Called by the git pre-commit hook to verify that team norms (SOPs) have
 * been followed before allowing a commit. Checks git history for evidence
 * of SOP compliance (e.g., review round commits for Code Commit SOP).
 *
 * @param req - Request with body: { sessionName, branch? }
 * @param res - Response returning { pass, feedback, checks }
 * @param next - Next function for error propagation
 */
export declare function preCommitGate(req: Request, res: Response, next: NextFunction): Promise<void>;
//# sourceMappingURL=quality-gate.controller.d.ts.map