import type { TextBlockParam, ImageBlockParam } from '@anthropic-ai/sdk/resources/messages/messages'; import type { IncomingMessage } from '../types.js'; /** A content block in a multimodal prompt (uses Anthropic SDK types directly). */ export type ContentBlock = TextBlockParam | ImageBlockParam; /** * Prompt result returned by buildPrompt. * - `string` for text-only messages (existing behavior) * - `ContentBlock[]` for multimodal messages with images */ export type PromptContent = string | ContentBlock[]; /** * Build the conversation context prompt for the current message. * * Returns either a plain string or ContentBlock[] when images are present. * When resuming an existing session, skip context injection — Claude already has history. */ export declare function buildPrompt(incoming: IncomingMessage, conversationKey: string, hasExistingSession?: boolean): Promise;