import { CallToolResult } from "@modelcontextprotocol/sdk/types";
import { ImageMetadataBlock } from "./shared/types";
/**
 * Represents a ClickUp text item which can be plain text or an image
 */
export interface ClickUpTextItem {
    text?: string;
    type?: string;
    image?: {
        id?: string;
        name?: string;
        title?: string;
        type?: string;
        extension?: string;
        thumbnail_large?: string;
        thumbnail_medium?: string;
        thumbnail_small?: string;
        url: string;
        uploaded?: boolean;
    };
    attributes?: any;
}
/**
 * Represents a ClickUp attachment
 */
export interface ClickUpAttachment {
    thumbnail_large?: string;
    thumbnail_medium?: string;
    thumbnail_small?: string;
    url: string;
    [key: string]: any;
}
/**
 * Process an array of ClickUp text items into a structured content format
 * that includes both text and images in their original sequence
 *
 * @param textItems Array of text items from ClickUp API
 * @returns Promise resolving to an array of content blocks (text and images)
 */
export declare function processClickUpText(textItems: ClickUpTextItem[]): Promise<(CallToolResult["content"][number] | ImageMetadataBlock)[]>;
/**
 * Splits markdown text at image references and converts them to image blocks
 * @param markdownText The markdown text to process
 * @param attachments Array of attachments from the Clickup API
 * @returns Array of content blocks (text and images)
 */
export declare function processClickUpMarkdown(markdownText: string, attachments: ClickUpAttachment[]): (CallToolResult["content"][number] | ImageMetadataBlock)[];
//# sourceMappingURL=clickup-text.d.ts.map