/**
 * Claude Code hook adapter。
 *
 * Claude Code 通过 PreToolUse hook 发起 AskUserQuestion，
 * payload 形状：
 *   {
 *     hook_event_name: 'PreToolUse',
 *     tool_name: 'AskUserQuestion',
 *     tool_input: {
 *       questions: [
 *         {
 *           question: '问题文本',
 *           multiSelect: boolean,
 *           options: [{ label: '选项文本' }, ...]
 *         }
 *       ]
 *     }
 *   }
 *
 * Claude Code 期望的 answer directive（hookSpecificOutput）形状：
 *   {
 *     hookSpecificOutput: {
 *       hookEventName: 'PreToolUse',
 *       permissionDecision: 'allow',
 *       updatedInput: {
 *         questions: <原始 questions 数组>,
 *         answers: {
 *           '问题文本': '选项label1, 选项label2',
 *           ...
 *         }
 *       }
 *     }
 *   }
 *
 * passthrough（放行）directive 形状：
 *   {
 *     hookSpecificOutput: {
 *       hookEventName: 'PreToolUse',
 *       permissionDecision: 'allow',
 *       updatedInput: { questions: [...], answers: {} }
 *     }
 *   }
 *
 * 参考来源：x-desktop-app/src/island/main/bridge/adapters/ClaudeAdapter.ts
 *           x-desktop-app/src/island/main/bridge/BridgeServer.ts buildClaudeAnswerDirective
 */
import type { HookAskAdapter } from './types.js';
declare const claudeCodeAdapter: HookAskAdapter;
export default claudeCodeAdapter;
//# sourceMappingURL=claude-code.d.ts.map