import type { OpenCodeGuardOptions, OpenCodeGuardProfile } from '../../../core/models/index.js'; import { type BoundedSensitiveValues } from '../../../shared/utils/sensitiveText.js'; import type { OpenCodeStreamEvent } from '../OpenCodeStreamHandler.js'; import type { ToolGuardRecoverableFailure, ToolHealthStats } from '../tool-guard.js'; import { type ResolvedOpenCodeGuardPolicy } from './policy.js'; import type { OpenCodeGuard, OpenCodeGuardContext, OpenCodeGuardDescriptor, OpenCodeGuardVerdict } from './types.js'; export interface OpenCodeGuardEvaluation { guardId: string; verdict: OpenCodeGuardVerdict; recoveryFailure?: ToolGuardRecoverableFailure; } export interface OpenCodeGuardSuiteResult { failure?: OpenCodeGuardEvaluation; anomalies: readonly OpenCodeGuardEvaluation[]; } export declare class OpenCodeGuardSuite { readonly profile: OpenCodeGuardProfile; readonly policy: ResolvedOpenCodeGuardPolicy; readonly enabledGuardIds: readonly string[]; readonly sensitiveValues: BoundedSensitiveValues; private readonly guards; private readonly toolOutcomes; private readonly health; private callFailure; constructor(policy: ResolvedOpenCodeGuardPolicy, guards: readonly OpenCodeGuard[], context: OpenCodeGuardContext); onInitialSource(source: unknown): OpenCodeGuardSuiteResult; onEvent(event: OpenCodeStreamEvent): OpenCodeGuardSuiteResult; startCall(onFailure: (evaluation: OpenCodeGuardEvaluation) => void): void; stopCall(): void; startAttempt(onFailure: (evaluation: OpenCodeGuardEvaluation) => void): void; stopAttempt(): void; getCallFailure(): OpenCodeGuardEvaluation | undefined; noteRecovery(): void; stats(): ToolHealthStats; private start; private stop; private dispatchEvent; private dispatchToolOutcome; private dispatchMessageCycle; private evaluation; private partition; private completedAssistantMessageId; } export declare function resolveOpenCodeGuardSuite(guards: OpenCodeGuardOptions | undefined, model: string, registry?: readonly OpenCodeGuardDescriptor[]): OpenCodeGuardSuite; //# sourceMappingURL=suite.d.ts.map