/** * Detection engine types */ /** * Scan context for confidence adjustment */ export interface ScanContext { /** Is the match in a comment? */ isInComment: boolean; /** Is this a test file? */ isInTestFile: boolean; /** Is this in a markdown code block? */ isInMarkdownCodeBlock: boolean; /** Contains sample/example keywords? */ hasSampleKeywords: boolean; /** Is whitelisted? */ isWhitelisted: boolean; /** File path */ filePath: string; /** Line content */ lineContent: string; } /** * Confidence modifiers */ export interface ConfidenceModifiers { /** Modifier for comments */ commentModifier: number; /** Modifier for test files */ testFileModifier: number; /** Modifier for markdown code blocks */ markdownModifier: number; /** Modifier for sample keywords */ sampleKeywordModifier: number; /** Boost for pattern + high entropy */ highEntropyBoost?: number; } //# sourceMappingURL=types.d.ts.map