/**
 * Platform Agent Auth Detector Service
 *
 * Concrete adapter for IAgentAuthDetectorService. Detects whether the user
 * is authenticated with a given AI coding agent using a two-tier strategy:
 *
 *   Tier 1 (instant, ~5ms): env vars + credentials file existence + macOS
 *   Keychain entry. No subprocess.
 *
 *   Tier 2 (subprocess, ~200ms): runs the agent's `auth status` subcommand
 *   when one exists. Skipped for Claude Code (no non-interactive auth
 *   subcommand — interactive `claude auth status` hangs and gets killed).
 *
 * Conservative by design: any detection failure returns false rather than
 * throwing, so the UI can show "needs auth" instead of crashing.
 *
 * Cross-platform: macOS uses Keychain via `security`, Linux/Windows fall
 * back to the file-based credential location.
 */
import { AgentType } from '../../../domain/generated/output.js';
import type { IAgentAuthDetectorService } from '../../../application/ports/output/services/agent-auth-detector.interface.js';
export declare class PlatformAgentAuthDetectorService implements IAgentAuthDetectorService {
    isAuthenticated(agentType: AgentType, binaryName: string | null): Promise<boolean>;
    /**
     * Instant credential/env check (~5ms, no subprocess).
     * Returns true if credentials likely exist for this agent type.
     */
    private tier1AuthCheck;
    /**
     * Subprocess verification (~200ms). Only called if tier 1 passes, to
     * confirm tokens aren't expired.
     */
    private tier2AuthVerify;
}
//# sourceMappingURL=platform-agent-auth-detector.service.d.ts.map