import { Scanner, ScannerOptions, ScanResult, Severity } from '../types'; export type CheckStatus = 'PASS' | 'FAIL' | 'WARN'; export interface HygieneFinding { checkName: string; severity: Severity; status: CheckStatus; description: string; recommendation: string; } export interface HygieneReport { findings: HygieneFinding[]; score: number; } export interface AgentConfig { fileAccess?: string[] | string; shellAccess?: { enabled?: boolean; allowlist?: string[]; } | string; browserProfile?: string; costLimits?: { dailyLimit?: number; monthlyLimit?: number; hardLimit?: number; }; trading?: { enabled?: boolean; simulationMode?: boolean; singleTradeLimit?: number; dailyLossLimit?: number; manualConfirmation?: boolean; }; monitoring?: { logging?: boolean; anomalyDetection?: boolean; killSwitch?: boolean; autoShutdown?: boolean; }; systemPrompt?: string; promptDefenses?: { identityLock?: boolean; inputSanitization?: boolean; outputGuards?: boolean; }; [key: string]: unknown; } export declare function calculateHygieneScore(findings: HygieneFinding[]): number; export declare function loadAgentConfig(targetDir: string): AgentConfig; export declare class HygieneAuditor implements Scanner { name: string; description: string; private checks; scan(targetDir: string, options?: ScannerOptions): Promise; /** * Run the audit and return a detailed hygiene report with score. */ audit(targetDir: string): Promise; } //# sourceMappingURL=hygiene-auditor.d.ts.map