/** * Hermes-compatible strict threat scan for memory writes. * Port of tools/threat_patterns.py — scope "strict" (union of all/context/strict). */ export declare const MAX_SCAN_CHARS = 65536; type Scope = "all" | "context" | "strict"; /** Invisible / bidi unicode used in injection attacks (Hermes INVISIBLE_CHARS). */ export declare const INVISIBLE_CHARS: Set; /** * Return matched pattern IDs (and invisible_unicode_U+XXXX) for `content`. */ export declare function scanForThreats(content: string, scope?: Scope): string[]; /** * First human-readable block message for memory writes (Hermes strict). * Returns null when clean. */ export declare function firstThreatMessage(content: string, scope?: Scope): string | null; /** Memory-write scan: Hermes `_scan_memory_content`. */ export declare function scanMemoryContent(content: string): string | null; export {}; //# sourceMappingURL=safety.d.ts.map