/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { InProcessChecker } from '../built-in.js'; import { type SafetyCheckInput, type SafetyCheckResult } from '../protocol.js'; import type { Config } from '../../config/config.js'; import type { SecurityPolicy } from './types.js'; export declare class ConsecaSafetyChecker implements InProcessChecker { private static instance; private currentPolicy; private activeUserPrompt; private config; /** * Private constructor to enforce singleton pattern. * Use `getInstance()` to access the instance. */ private constructor(); static getInstance(): ConsecaSafetyChecker; /** * Resets the singleton instance. Use only in tests. */ static resetInstance(): void; setConfig(config: Config): void; check(input: SafetyCheckInput): Promise; getPolicy(userPrompt: string, trustedContent: string, config: Config): Promise; private extractUserPrompt; getCurrentPolicy(): SecurityPolicy | null; getActiveUserPrompt(): string | null; }