/**
 * Fission Controller
 *
 * HTTP request handlers for Fission Guardrail configuration, stats,
 * violations audit, and pre-creation checks.
 *
 * Endpoints:
 * - GET  /api/fission/config     — current guardrail configuration
 * - PUT  /api/fission/config     — update configuration
 * - GET  /api/fission/stats      — fission statistics (violation counts by type)
 * - GET  /api/fission/violations — recent violations (audit log)
 * - POST /api/fission/check      — pre-check whether a sub-task creation is allowed
 *
 * @module controllers/fission/fission.controller
 */
import type { Request, Response, NextFunction } from 'express';
import type { FissionGuardService } from '../../services/fission/fission-guard.service.js';
/**
 * Set the FissionGuardService instance.
 * Called during server initialization.
 *
 * @param service - The FissionGuardService instance
 */
export declare function setFissionGuardService(service: FissionGuardService): void;
/**
 * GET /api/fission/config
 *
 * Returns the current fission guardrail configuration.
 *
 * @param _req - Express request (unused)
 * @param res - Express response with FissionGuardConfig
 * @param next - Express next function for error forwarding
 */
export declare function getFissionConfig(_req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * PUT /api/fission/config
 *
 * Updates the fission guardrail configuration.
 * Accepts a partial FissionGuardConfig — only provided fields are updated.
 *
 * @param req - Express request with partial FissionGuardConfig body
 * @param res - Express response with updated config
 * @param next - Express next function for error forwarding
 */
export declare function updateFissionConfig(req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * GET /api/fission/stats
 *
 * Returns fission statistics: violation counts grouped by type.
 *
 * @param _req - Express request (unused)
 * @param res - Express response with stats object
 * @param next - Express next function for error forwarding
 */
export declare function getFissionStats(_req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * GET /api/fission/violations
 *
 * Returns recent fission guard violations for auditing.
 * Supports optional `limit` and `type` query parameters.
 *
 * @param req - Express request with optional query params
 * @param res - Express response with violation array
 * @param next - Express next function for error forwarding
 */
export declare function getFissionViolations(req: Request, res: Response, next: NextFunction): Promise<void>;
/**
 * POST /api/fission/check
 *
 * Pre-check whether a sub-task creation would be allowed.
 * Used by bash skills and external callers before attempting creation.
 *
 * Body: { parentWorkItemId: string, agentId: string, missionId?: string }
 *
 * @param req - Express request with check parameters
 * @param res - Express response with GuardResult
 * @param next - Express next function for error forwarding
 */
export declare function checkFission(req: Request, res: Response, next: NextFunction): Promise<void>;
//# sourceMappingURL=fission.controller.d.ts.map