/**
 * ClaudeCodeIdeAdapter -- Claude Code IDE adapter.
 *
 * Wraps the existing Claude Code PreToolUse / PostToolUse hook system under
 * the IdeAdapter contract. The adapter provides the governance-runtime
 * dispatch side; the hook scripts themselves live in the customer's Claude
 * Code install and invoke this adapter.
 *
 * This is the reference adapter for the IDE contract: Claude Code's hook
 * surface is native and fully tested. Behaviour-preserving: existing
 * customer deployments require no migration.
 *
 * User identity resolution order (fail-closed per AC 21):
 *   1. CLAUDE_SESSION_USER environment variable
 *   2. .claude/session.json file (userId field)
 *   3. Throws IdeAttributionError at initialize time
 *      (never defaults to 'unknown')
 *
 * Spec: P3-IDE-01 AC 4-5
 *
 * @connexum/ai-governance
 */
import { BaseIdeAdapter } from './base';
import { type IdeAdapterConfig, type IdeAdapterCapabilities, type IdeSessionContext, type ToolInvocationContext, type ToolInvocationDecision, type UserIdentity, type ReviewerTier, type ReviewerRoutingResult } from './index';
export declare class ClaudeCodeIdeAdapter extends BaseIdeAdapter {
    readonly adapterId = "claude-code";
    readonly ideId = "claude-code";
    /** Resolved at initialize time; used for subsequent sessions */
    private resolvedIdentity;
    /**
     * Initialize the adapter.
     *
     * Immediately resolves user identity so failures surface at initialize
     * time, not mid-session (AC 21: fail-closed at adapter init).
     */
    initialize(config: IdeAdapterConfig): void;
    resolveUserIdentity(session: IdeSessionContext): Promise<UserIdentity>;
    interceptToolInvocation(ctx: ToolInvocationContext): Promise<ToolInvocationDecision>;
    routeToolToReviewer(tool: string, ctx: ToolInvocationContext, tier: ReviewerTier): Promise<ReviewerRoutingResult>;
    getIdeCapabilities(): IdeAdapterCapabilities;
    translateError(raw: unknown): import('./index').IdeAdapterError;
}
//# sourceMappingURL=claude-code.d.ts.map