import type { ONIModel } from "../models/types.js"; export interface SafetyGateConfig { safetyModel: ONIModel; protectedTools?: string[]; safetySystemPrompt?: string; timeout?: number; } export interface SafetyCheckResult { approved: boolean; reason?: string; riskScore?: number; suggestion?: string; } export declare class SafetyGate { private readonly model; private readonly protectedTools; private readonly systemPrompt; private readonly timeout; constructor(config: SafetyGateConfig); /** Returns true if the tool requires a safety check before execution. */ requiresCheck(toolName: string): boolean; /** Sends tool call info to the safety model and returns the check result. */ check(call: { id: string; name: string; args: Record; }): Promise; } //# sourceMappingURL=safety-gate.d.ts.map