import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import type { TgcClient } from "../client/tgc-client.js"; export declare function getAllowedBaseDir(): string; export declare function validateFilePath(filePath: string): Promise; export declare function validateUploadUrl(rawUrl: string): URL; export declare function validateImageDimensions(buffer: Buffer, filename: string): void; export declare function downloadFromUrl(url: string): Promise; export declare function handleUploadFile(client: TgcClient): (args: { folder_id: string; file_path?: string; url?: string; filename?: string; }) => Promise;