/** * Agent message detection */ import type { ParsedEmail } from "../types.js"; import type { ResolvedA2AConfig, AgentDetection } from "./types.js"; import type { EmailLogger } from "../utils/logger.js"; /** * Detect if an email is from another agent */ export declare function detectAgentMessage(email: ParsedEmail, a2aConfig: ResolvedA2AConfig, log?: EmailLogger): AgentDetection; /** * Check if turn exceeds maximum */ export declare function isTurnExceeded(turn: number, maxTurns: number): boolean;