#!/usr/bin/env node
import { type SetupHealthResult } from '../setup/health';
import type { ModelRoutingPolicy } from '../agents/modelRouting';
import { type OutputValidationProfile } from '../core/outputValidation';
import type { PermissionMode } from '../types';
interface CliOptions {
    command?: 'doctor' | 'mycelium' | 'tui' | 'simulate';
    myceliumArgs?: string[];
    /** Daemon base URL for the `tui` command. */
    tuiBaseUrl?: string;
    /** Optional model id for the `tui` command. */
    tuiModel?: string;
    /** Probe ids accumulated for the `simulate` command. */
    simulateProbeIds?: string[];
    /** Probe categories accumulated for the `simulate` command. */
    simulateCategories?: string[];
    /** Per-probe timeout (ms) for the `simulate` command. */
    simulateProbeTimeoutMs?: number;
    /** Persist the simulator run as an EvalTraceRun. */
    simulatePersist?: boolean;
    model: string;
    host: string;
    permissionMode: PermissionMode;
    maxTurns: number;
    summarizerModel?: string;
    modelRouting: ModelRoutingPolicy;
    prompt?: string;
    promptFile?: string;
    visionModel: string;
    audioTranscribeCommand: string;
    audioSamplePath: string;
    outputValidation?: OutputValidationProfile;
    unproductiveTurnLimit?: number;
    backend?: string;
    compactRemoteSmoke?: boolean;
    /** When set, doctor re-runs every `watchIntervalMs` instead of exiting. */
    watchIntervalMs?: number;
    /** Auto-remediate the things doctor diagnoses (vision pull, context auto, agent-outputs prune). */
    doctorFix?: boolean;
    /** Confirm destructive fixes (e.g. `ollama pull` of a vision model). */
    doctorYes?: boolean;
    /** Run a live SMTP connection test during doctor. */
    smtpTest?: boolean;
}
export declare function parseArgs(args?: string[]): CliOptions;
export declare function loadHeadlessRuntimeSettings(projectDir: string): Promise<void>;
export declare function main(): Promise<void>;
export declare function formatSetupHealth(result: SetupHealthResult): string;
export declare function buildSystemPrompt(modelRouting: ModelRoutingPolicy): string;
export declare function buildConsoleToolOnlyResponse(input: {
    toolCalls: number;
    toolSummaries: string[];
    errors: string[];
    doneReason?: string;
}): string;
export {};
//# sourceMappingURL=index.d.ts.map