import type { Config } from '../../config/schema.js';
import type { AgentInstanceGateway } from '../agent-instance-gateway.js';
import type { ModelManager } from '../models/index.js';
export type DirectInboundAttachment = {
    type: string;
    mimeType?: string;
    data?: string;
    name?: string;
    size?: number;
    workspaceRelativePath?: string;
};
export type DirectMessagePart = {
    type: 'text';
    text: string;
} | {
    type: 'image';
    data: string;
    mimeType: string;
};
/**
 * Build user message parts (text + resolved images/files) for direct / webchat turns.
 */
export declare function buildDirectUserMessageContent(opts: {
    content: string;
    attachments?: DirectInboundAttachment[];
    sessionKey?: string;
    config: Config;
    agentManager: AgentInstanceGateway;
    modelManager: ModelManager;
}): Promise<DirectMessagePart[]>;
