UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

18 lines 1.12 kB
export declare const MAX_IMAGE_HEIGHT = 2000; export declare const DEFAULT_QUALITY = 80; export declare const OPENAI_MAX_WIDTH = 1024; export declare const OPENAI_MAX_HEIGHT = 768; export declare const CLAUDE_MAX_WIDTH = 1024; export declare const CLAUDE_MAX_HEIGHT = 1120; export declare const GEMINI_MAX_WIDTH = 1024; export declare const GEMINI_MAX_HEIGHT = 1536; import { ExtractBase64ImageResult } from '../types/types.js'; export declare function appendMessageWithImage(model: string, input: any[], message: any, param: string | { read: () => string; write: (value: string) => any; }, addImagesToInput: (input: any[], images: Record<string, string>, source: string) => Promise<any[]>, source?: string): Promise<any>; export declare function extractBase64Image(content: string): ExtractBase64ImageResult; export declare function resizeAndSplitForOpenAI(imageData: string): Promise<string[]>; export declare function resizeAndTruncateForClaude(imageData: string): Promise<string>; export declare function resizeAndTruncateForGemini(imageData: string): Promise<string>; //# sourceMappingURL=image_utils.d.ts.map