import type { LintSourceOptions, SlopSiftResult } from './index.js'; import { type StopHookOutput } from './stop-hook.js'; export type AgentHost = 'claude-code' | 'codex'; export type AgentPluginState = 'ready' | 'missing' | 'disabled' | 'unknown'; export interface AgentHostInspection { host: AgentHost; binary: string; installed: boolean; version?: string; pluginState: AgentPluginState; pluginVersion?: string; detail?: string; installCommands: string[]; } export interface AgentDemoResult { rejectedDraft: StopHookOutput; acceptedRewrite: StopHookOutput; } interface CommandResult { status: number | null; stdout: string; stderr: string; error?: Error; } export type AgentCommandRunner = (command: string, args: string[]) => CommandResult; interface DemoLintEngine { lintSource(filePath: string, source: string, options: LintSourceOptions): Promise; } export declare const AGENT_DEMO_DRAFT = "Kept modest deliberately: the win comes from narrower prompts, not from saturating the model gate."; export declare const AGENT_DEMO_REWRITE = "The workflow limits concurrency because focused prompts improve its evidence search more than additional parallel model calls would."; /** Inspect one installed coding-agent CLI without changing its configuration. */ export declare function inspectAgentHost(host: AgentHost, runCommand?: AgentCommandRunner): AgentHostInspection; /** Exercise the real Stop-hook decision with one known-bad draft and one clean rewrite. */ export declare function runAgentDemo(engine: DemoLintEngine, stateDirectory: string): Promise; export {};