import type { PixelLabClient } from "./api-client.js"; export interface ToolDef { name: string; description: string; inputSchema: Record; handler: (client: PixelLabClient, args: Record) => Promise; } /** * Recursively resolve any nested image object that carries a `file_path` (and no * `base64`) into a full { type, base64, format } object, so callers can pass a * saved file path instead of pasting a large base64 blob into an image argument. * * Only ever called on argument *values*, never the top-level args object, so a * top-level `file_path` param (e.g. read_image's) is left untouched. Reads are * confined to ALLOWED_ROOTS to prevent path traversal. */ export declare function resolveImageArg(val: unknown): Promise; export declare const tools: ToolDef[];