import { type Host } from './index.js'; export interface RepoProfile { name: string; languages: string[]; hasMcp: boolean; hasClaude: boolean; hasCodex: boolean; hasCi: boolean; buildCommands: string[]; testCommands: string[]; tokens: string[]; } export interface PolicyProfile { defaultDeny: boolean; allowNetwork: boolean; allowShell: boolean; allowFileWrite: boolean; requireApprovalForDangerous: boolean; toolTimeoutMs: number; maxToolCallsPerTurn: number; auditLog: boolean; } export interface Archetype { id: string; label: string; description: string; requiredLang?: 'rust' | 'typescript' | 'python' | 'go'; requiredSignal?: 'hasMcp'; keywords: string[]; manifestHints: string[]; template: string; agents: string[]; skills: string[]; commands: string[]; mcp: 'off' | 'local' | 'remote'; } export interface HarnessPlan { name: string; hosts: Host[]; template: string; archetypeId: string; confidence: number; engine: 'lexical' | 'ruvllm'; agents: string[]; skills: string[]; commands: string[]; mcp: 'off' | 'local' | 'remote'; policy: PolicyProfile; riskProfile: string; suggestedCommands: { command: string; trust: 'inferred'; execution: 'disabled'; }[]; } export declare const ARCHETYPES: Archetype[]; /** Read high-signal files + cheap structural probes. Never reads arbitrary source. */ export declare function inventory(dir: string): Record; export declare function analyzeFiles(name: string, files: Record): RepoProfile; export interface Scored { archetype: Archetype; score: number; confidence: number; } export declare function scoreArchetypes(profile: RepoProfile, semantic?: Record): Scored[]; export declare function recommendPlan(profile: RepoProfile, semantic?: Record): HarnessPlan; export declare function ruvllmSemantic(profile: RepoProfile): Record | undefined; /** Test hook — drop the memoisation cache so tests can assert fresh runs. */ export declare function _resetRuvllmCacheForTests(): void; export declare function analyzeRepoCmd(args: string[]): Promise<{ code: number; lines: string[]; }>; //# sourceMappingURL=analyze-repo.d.ts.map