import { ScannerModule, Finding } from '../types'; export declare const permissionAnalyzer: ScannerModule; export declare function analyzePermissions(config: Record, filePath?: string): Finding[]; export declare function analyzeToolPermissionBoundaries(content: string, filePath?: string): Finding[]; /** * Check if a parsed JSON/YAML object looks like a tool/MCP/agent config. * MCP-specific keys pass with 1 match; generic keys require 2+ matches. */ export declare function isToolOrMcpConfig(obj: Record): boolean; /** * Check if text content is actually defining tool permissions (not just mentioning "tool"). * For .md/.txt files, we need stronger signals than just the word "tool". */ export declare function isDefiningToolPermissions(content: string): boolean; export declare function analyzeTextPermissions(content: string, filePath?: string): Finding[]; //# sourceMappingURL=permission-analyzer.d.ts.map