import { z } from 'zod'; import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { StorageApiClient } from '../client/storage-api.js'; import type { ImageLoadFailure, ImageSourceInput, LocalImageReader } from '../lib/image-source.js'; export interface UploadedImage { source: string; url: string; } export interface UploadImagesResult { uploaded: UploadedImage[]; failures: ImageLoadFailure[]; } /** * 입력 소스를 로드해 Bootpay CDN 으로 올린다. * 개별 실패는 failures 로 모으고 나머지는 계속 진행한다 — 3장 중 1장이 깨졌다고 2장까지 버릴 이유가 없다. * 개수 상한 초과 등 호출 자체가 잘못된 경우에만 ImageSourceError 가 올라온다. */ export declare function uploadImageSources(storageApi: StorageApiClient, input: ImageSourceInput, opts?: { readLocalFile?: LocalImageReader; }): Promise; export declare const IMAGE_INPUT_SCHEMA: { image_paths: z.ZodOptional>; image_urls: z.ZodOptional>; image_base64: z.ZodOptional; }, "strip", z.ZodTypeAny, { data: string; filename?: string | undefined; }, { data: string; filename?: string | undefined; }>, "many">>; }; export declare function registerImageTools(server: McpServer, storageApi: StorageApiClient, opts?: { readLocalFile?: LocalImageReader; }): void; //# sourceMappingURL=image.d.ts.map