/**
 * Admin route handlers — extracted from server.ts for modularity.
 * All handlers are pure functions: (req, res, config, deps) → void
 */
import type { IncomingMessage, ServerResponse } from 'node:http';
import type { OwlCodaConfig } from '../config.js';
import type { ModelTruthSnapshot } from '../model-truth.js';
export interface AdminDeps {
    resetCircuitBreaker: () => void;
    resetBudgets: () => void;
    getAllCircuitStates: () => unknown;
    getRecentTraces: (count: number) => any[];
    readAuditLog: (count: number) => Promise<unknown[]>;
    getModelTruthSnapshot: (options?: {
        skipCache?: boolean;
    }) => Promise<ModelTruthSnapshot>;
}
export declare function handleResetCircuitBreakers(_req: IncomingMessage, res: ServerResponse, _config: OwlCodaConfig, deps: AdminDeps): void;
export declare function handleResetBudgets(_req: IncomingMessage, res: ServerResponse, _config: OwlCodaConfig, deps: AdminDeps): void;
export declare function handleReloadConfig(_req: IncomingMessage, res: ServerResponse, config: OwlCodaConfig): void;
export declare function handleGetConfig(_req: IncomingMessage, res: ServerResponse, config: OwlCodaConfig): void;
export declare function handleGetModelTruth(_req: IncomingMessage, res: ServerResponse, _config: OwlCodaConfig, deps: AdminDeps, rawUrl: string): void;
export declare function handleGetRequests(_req: IncomingMessage, res: ServerResponse, _config: OwlCodaConfig, deps: AdminDeps, rawUrl: string): void;
export declare function handleGetAudit(_req: IncomingMessage, res: ServerResponse, _config: OwlCodaConfig, deps: AdminDeps, rawUrl: string): void;
