import type { AgentSideConnection, ContentBlock } from '@agentclientprotocol/sdk';
import type { ImageAttachment } from '../types/core.js';
export interface AcpContentContext {
    conn: AgentSideConnection;
    sessionId: string;
    /** Whether the client advertised the `fs.readTextFile` capability. */
    canReadTextFile: boolean;
}
/** A resolved ACP prompt: model-visible text plus any image attachments. */
export interface AcpUserMessage {
    text: string;
    images: ImageAttachment[];
}
/**
 * Convert a prompt's content blocks into the user message the model receives.
 *
 * Text blocks are concatenated directly (preserving the client's own
 * splitting). Embedded resources and `@`-mentioned file links are resolved into
 * readable sections appended after the prompt text. Image blocks are collected
 * as multimodal attachments; audio (and unsupported image types) are noted
 * rather than silently dropped.
 */
export declare function acpContentToUserMessage(prompt: ContentBlock[], ctx?: AcpContentContext): Promise<AcpUserMessage>;
/**
 * Text-only view of {@link acpContentToUserMessage}, kept for callers and tests
 * that only need the model-visible prose.
 */
export declare function acpContentToUserText(prompt: ContentBlock[], ctx?: AcpContentContext): Promise<string>;
//# sourceMappingURL=acp-content.d.ts.map