@hauptsache.net/clickup-mcp
Version:
Search, create, and retrieve tasks, add comments, and track time through natural language commands.
13 lines • 856 B
TypeScript
import { ContentBlock, ImageMetadataBlock } from "./types";
/**
* Downloads images from image_metadata blocks and applies smart size/count limiting
* Prioritizes keeping the most recent images (assumes content is ordered with newest items last)
* Uses intelligent size calculation accounting for text content
*
* @param content Array of content blocks that may contain image_metadata blocks
* @param maxImages Maximum number of images to keep (defaults to CONFIG.maxImages)
* @param maxSizeMB Maximum response size in MB (defaults to CONFIG.maxResponseSizeMB)
* @returns Promise resolving to content array with downloaded images or placeholders
*/
export declare function downloadImages(content: (ContentBlock | ImageMetadataBlock)[], maxImages?: number, maxSizeMB?: number): Promise<ContentBlock[]>;
//# sourceMappingURL=image-processing.d.ts.map