import { type DetectionRule, type Finding, type Severity } from "../types/index.js"; export declare const MAX_LINE_LENGTH = 65536; export declare class SecretDetector { private rules; private allowlist; private maxDecodeDepth; private ahoCorasick; private hasRulesWithoutKeywords; constructor(rules: DetectionRule[], allowlist?: string[], maxDecodeDepth?: number); mask(secret: string): string; private isAllowlisted; private scanText; scanLine(line: string, lineNumber: number, filePath: string, minSeverity?: Severity, previousLine?: string): Finding[]; }