/** * Type definitions for Grok Imagine Image MCP Server */ export declare const MODELS: readonly ["grok-imagine-image", "grok-imagine-image-pro", "grok-imagine-image-2.0"]; export type Model = (typeof MODELS)[number]; export declare const GROK_IMAGINE_ASPECT_RATIOS: readonly ["1:1", "3:4", "4:3", "3:2", "2:3", "2:1", "1:2", "9:16", "16:9", "19.5:9", "9:19.5", "20:9", "9:20", "auto"]; export declare const ASPECT_RATIOS: readonly ["1:1", "3:4", "4:3", "3:2", "2:3", "2:1", "1:2", "9:16", "16:9", "19.5:9", "9:19.5", "20:9", "9:20", "auto"]; export type AspectRatio = (typeof ASPECT_RATIOS)[number]; export declare const RESOLUTIONS: readonly ["1k", "2k"]; export type Resolution = (typeof RESOLUTIONS)[number]; export declare const QUALITIES: readonly ["low", "medium"]; export type Quality = (typeof QUALITIES)[number]; export declare const DEFAULT_QUALITY: Quality; export declare const QUALITY_MODELS: readonly Model[]; export declare const EDIT_MODELS: readonly Model[]; export interface GenerateImageParams { prompt: string; output_path?: string; model?: Model; n?: number; aspect_ratio?: AspectRatio; resolution?: Resolution; quality?: Quality; response_format?: 'url' | 'b64_json'; return_base64?: boolean; include_thumbnail?: boolean; } export interface EditImageParams { prompt: string; image_path?: string; image_base64?: string; image_url?: string; image_paths?: string[]; image_base64s?: string[]; image_urls?: string[]; output_path?: string; model?: Model; n?: number; aspect_ratio?: AspectRatio; resolution?: Resolution; quality?: Quality; response_format?: 'url' | 'b64_json'; return_base64?: boolean; include_thumbnail?: boolean; } export interface XAIImageResponse { data: Array<{ url?: string; b64_json?: string; revised_prompt?: string; }>; } export interface XAIErrorResponse { error?: { message: string; type?: string; code?: string; }; } //# sourceMappingURL=tools.d.ts.map