export interface ClaudeCliDiagnosticInput {
    agentId: string;
    exitCode?: number | null;
    signal?: string | null;
    stderrTail?: string | null;
    stdoutTail?: string | null;
    env?: Record<string, unknown> | null;
}
export interface ClaudeCliDiagnostic {
    message: string;
    detail: string;
    retryable: boolean;
}
export declare function diagnoseClaudeCliFailure(input: ClaudeCliDiagnosticInput): ClaudeCliDiagnostic | null;
