export type AgentFileKind = 'rules' | 'skills' | 'instructions' | 'hooks' | 'memory' | 'other'; export interface AgentFileFinding { id: string; kind: AgentFileKind; client?: string; filePath: string; title: string; sizeBytes: number; lineCount: number; riskTags: string[]; excerpt?: string; } export interface AgentFilesScanResult { findings: AgentFileFinding[]; limits: { maxFiles: number; maxFileBytes: number; maxDepth: number; }; stats: { scannedFiles: number; excludedPaths: number; }; truncated: boolean; } export declare function scanAgentFilesWithMetadata(options?: { cwd?: string; extraRoots?: string[]; disabledRoots?: string[]; }): AgentFilesScanResult; /** Backward-compatible findings-only API used by existing callers/tests. */ export declare function scanAgentFiles(options?: { cwd?: string; extraRoots?: string[]; disabledRoots?: string[]; }): AgentFileFinding[];