/** * @module @arcis/node/sanitizers/ssti * Server-Side Template Injection (SSTI) prevention */ import type { SanitizeResult } from '../core/types'; /** * Sanitizes a string to prevent SSTI attacks. * Removes template expression syntax. */ export declare function sanitizeSsti(input: string, collectThreats?: false): string; export declare function sanitizeSsti(input: string, collectThreats: true): SanitizeResult; /** * Checks if a string contains SSTI patterns. * Does not sanitize — use sanitizeSsti() for that. * * @param input - The string to check * @returns True if SSTI patterns detected */ export declare function detectSsti(input: string): boolean; //# sourceMappingURL=ssti.d.ts.map