/**
 * Skill security scanner — scans skill directories for potentially dangerous code patterns.
 * Used after hub installs and after agent-driven `skill_manage` writes (parity with Hermes-style guardrails).
 */
export type Severity = 'critical' | 'warning' | 'info';
export interface SecurityFinding {
    severity: Severity;
    message: string;
    file: string;
    line: number;
    pattern?: string;
}
export interface ScanSummary {
    critical: number;
    warn: number;
    info: number;
    findings: SecurityFinding[];
}
/**
 * Scan a skill directory for security issues
 */
export declare function scanSkillDirectory(skillDir: string): Promise<ScanSummary>;
/**
 * Format security findings for display
 */
export declare function formatScanSummary(summary: ScanSummary, skillName: string): string;
/**
 * Collect security warnings for a skill installation
 */
export declare function collectSkillInstallWarnings(skillDir: string, skillName: string): Promise<string[]>;
