/**
 * X-Ray Pattern Detection
 *
 * Comprehensive pattern groups for detecting hidden risk in packages, files,
 * and metadata. Follows the same conventions as skill-scanner/patterns.ts:
 *   - safeRegexTest wrapper for every test
 *   - MAX_SCAN_LENGTH truncation to prevent ReDOS
 *   - PatternGroup style with weighted confidence
 *   - One match per group is enough (break after first)
 */
import type { XRayFinding } from './types.js';
/**
 * Run all X-Ray pattern groups against content and return matched findings.
 * Optionally tag findings with a file path and compute line numbers.
 */
export declare function detectPatterns(content: string, filePath?: string): XRayFinding[];
/**
 * Check if a filename itself contains AI directive patterns.
 */
export declare function detectFilenameDirectives(filename: string): XRayFinding[];
