/**
 * AgentScanner -- Discovery engine for AI agent definitions across platforms.
 *
 * Scans project directories to detect agent configurations from Claude Code,
 * OpenAI, Cursor, and Gemini platforms. Determines governance status and
 * capabilities for each discovered agent.
 *
 * GATE 9: T-146
 *
 * @connexum/ai-governance
 */
/** Supported AI agent platforms */
export type AgentPlatform = 'claude' | 'openai' | 'cursor' | 'gemini' | 'unknown';
/** Governance status of a discovered agent */
export type GovernanceStatus = 'governed' | 'partial' | 'ungoverned';
/** A single agent discovered during scanning */
export interface DiscoveredAgent {
    /** Agent name (derived from filename or config) */
    name: string;
    /** Platform that owns this agent definition */
    platform: AgentPlatform;
    /** Absolute path to the agent definition file */
    filePath: string;
    /** Current governance status */
    governanceStatus: GovernanceStatus;
    /** Capabilities configured for this agent (tools, permissions, etc.) */
    capabilities: string[];
}
/** Aggregated scan statistics */
export interface ScanStats {
    total: number;
    governed: number;
    partial: number;
    ungoverned: number;
}
/** Result of a full project scan */
export interface ScanResult {
    /** All discovered agents */
    agents: DiscoveredAgent[];
    /** Project directory that was scanned */
    projectDir: string;
    /** ISO timestamp of when the scan was performed */
    scannedAt: string;
    /** Aggregated statistics */
    stats: ScanStats;
}
export declare class AgentScanner {
    /**
     * Scan a project directory for agent definitions across all supported platforms.
     */
    scan(projectDir: string): ScanResult;
    /**
     * Detect whether the project has governance infrastructure installed.
     */
    private detectGovernanceInfrastructure;
    /**
     * Scan for Claude Code agent definitions.
     */
    private scanClaudeCode;
    /**
     * Scan for OpenAI agent definitions.
     */
    private scanOpenAI;
    /**
     * Scan for Cursor agent definitions.
     */
    private scanCursor;
    /**
     * Scan for Gemini agent definitions.
     */
    private scanGemini;
    /**
     * Determine governance status for a Claude Code agent.
     */
    private assessGovernanceStatus;
    /**
     * Extract capabilities from agent file content.
     */
    private extractCapabilities;
    /**
     * Extract capabilities from a parsed settings JSON object.
     */
    private extractSettingsCapabilities;
    /**
     * Check if CLAUDE.md content contains agent-like definitions.
     */
    private containsAgentDefinitions;
    /**
     * Safely read a file, returning empty string on failure.
     */
    private safeReadFile;
    /**
     * Compute aggregate statistics from discovered agents.
     */
    private computeStats;
}
export { evaluateManifest, evaluateManifests, type ManifestFinding, type ManifestInput, type ManifestRuleId, } from './manifest-integrity';
//# sourceMappingURL=index.d.ts.map