import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';

/**
 * agent:trace:diagnose - Quick diagnostic analysis of agent execution
 *
 * One command to answer "what went wrong?" — shows errors, context drops,
 * tool failures, loop detection, LLM reasoning, and quality indicators.
 *
 * Usage:
 *   pnpm kb agent trace diagnose --task-id=<id>
 *   pnpm kb agent trace diagnose --task-id=<id> --json
 */
type TraceDiagnoseInput = {
    taskId?: string;
    'task-id'?: string;
    json?: boolean;
};
declare const _default: _kb_labs_shared_command_kit.CommandHandlerV3<unknown, TraceDiagnoseInput, unknown>;

export { _default as default };
