import type { JsonObject } from '../types/json.js';
import type { StandardizedRequest } from '../types/standardized.js';
import type { GovernedChatCompletionPayload, GovernedStandardizedRequest, ToolGovernanceProtocol, ToolGovernanceRegistry } from './types.js';
/**
 * Hybrid governance engine:
 * - request path: native-primary
 * - response path: native-primary
 *
 * Legacy-only snapshot retained at:
 * - src/conversion/hub/tool-governance/archive/engine.legacy.ts
 */
export declare class ToolGovernanceError extends Error {
    readonly protocol: ToolGovernanceProtocol;
    readonly direction: 'request' | 'response';
    readonly field: string;
    constructor(message: string, protocol: ToolGovernanceProtocol, direction: 'request' | 'response', field: string);
}
export declare class ToolGovernanceEngine {
    private readonly registry;
    constructor(registry?: ToolGovernanceRegistry);
    governRequest(request: StandardizedRequest, protocol: ToolGovernanceProtocol): GovernedStandardizedRequest;
    governResponse(payload: JsonObject, protocol: ToolGovernanceProtocol): GovernedChatCompletionPayload;
    private resolveRules;
}
