/**
 * `git warp doctor` — diagnose structural anomalies and suggest fixes.
 *
 * Orchestrator: builds context, runs checks with budget tracking,
 * assembles payload, sorts findings, derives health.
 *
 * @module cli/commands/doctor
 */
import { type DoctorPayload } from './types.ts';
import type { CliOptions } from '../../types.ts';
/** Handles the `git warp doctor` command: runs structural health checks and returns findings. */
export default function handleDoctor({ options, args }: {
    options: CliOptions;
    args: string[];
}): Promise<{
    payload: DoctorPayload;
    exitCode: number;
}>;
