import type { UserTurnAttachment } from '../../gateway/user-turn-input.js'; import type { ExternalTurnAttachment } from './types.js'; /** * Normalize webchat `UserTurnAttachment` items into a uniform representation * usable by any external runtime driver (both local file paths for CLI tools * like Codex `localImage` and base64 payloads for ACP `image` content blocks). */ export declare function prepareExternalAttachments(input: { attachments?: UserTurnAttachment[]; cwd: string; }): Promise<{ attachments: ExternalTurnAttachment[]; cleanup: () => Promise; }>; /** Format non-image file attachments as concise context lines prepended to the prompt. */ export declare function formatFileAttachmentsContext(attachments: ReadonlyArray): string;