import type { AcpTurnAttachment as AgentTurnAttachment } from "../../acp/control-plane/manager.types.js"; import type { KlawConfig } from "../../config/types.klaw.js"; import type { MsgContext } from "../templating.js"; import { type RecentInboundHistoryImage } from "./history-media.js"; export declare function loadAgentTurnMediaRuntime(): Promise; export type AgentTurnAttachmentRuntime = Pick>, "MediaAttachmentCache" | "isMediaUnderstandingSkipError" | "normalizeAttachments" | "resolveMediaAttachmentLocalRoots">; export declare function hasPotentialAgentTurnAttachments(ctx: MsgContext): boolean; export declare function resolveAgentTurnAttachments(params: { ctx: MsgContext; cfg: KlawConfig; runtime?: AgentTurnAttachmentRuntime; includeRecentHistoryImages?: boolean; }): Promise<{ attachments: AgentTurnAttachment[]; recentHistoryImages: RecentInboundHistoryImage[]; }>; export declare function resolveAgentAttachments(params: { ctx: MsgContext; cfg: KlawConfig; runtime?: AgentTurnAttachmentRuntime; }): Promise; export declare function resolveInlineAgentImageAttachments(images: Array<{ data: string; mimeType: string; }> | undefined): AgentTurnAttachment[];