import { type ToolDef } from './registry.js'; import type { ToolContext } from './context.js'; export declare function resolveImageUrl(ctx: ToolContext, imageUuid: string, workspace?: string): Promise; interface TransparencyOutcome { image_uuid: string; image_url: string; has_true_alpha: boolean; premultiplied_white: boolean; corners_clean: boolean; keying_mode: 'box' | 'dominance'; note?: string; } interface TextOutcome { /** `null` = UNKNOWN (OCR could not run), not "no text". See verifyTextImpl (#764). */ has_text: boolean | null; detected_text: string; spelled_correctly: boolean | null; confidence: number; note?: string; } export declare const generateImage: ToolDef<{ prompt: string; source?: string | undefined; size?: "1024x1024" | "1024x1792" | "1792x1024" | undefined; style?: "auto" | "photoreal" | "vector" | "abstract" | undefined; augment_prompt_for_transparency?: boolean | undefined; no_fallback?: boolean | undefined; workspace?: string | undefined; }, { image_uuid: string; image_url: string; source_used: string; fallback_trail: import("../image/generate.js").FallbackAttempt[]; generation_latency_ms: number; }>; export declare const processTransparency: ToolDef<{ image_uuid: string; image_url?: string | undefined; background_mode?: "box" | "dominance" | "auto" | undefined; force?: boolean | undefined; workspace?: string | undefined; }, TransparencyOutcome>; export declare const verifyDesignText: ToolDef<{ image_uuid: string; image_url?: string | undefined; expected_text?: string | undefined; workspace?: string | undefined; }, TextOutcome>; export declare const designApparel: ToolDef<{ prompt: string; count?: number | undefined; garment_type?: string | undefined; style?: "auto" | "photoreal" | "vector" | "abstract" | undefined; needs_transparency?: boolean | undefined; verify_text?: boolean | undefined; source?: string | undefined; no_fallback?: boolean | undefined; workspace?: string | undefined; }, { designs: Record[]; }>; export declare const iterateDesign: ToolDef<{ source_design_uuid: string; change_description: string; preserve?: ("style" | "composition" | "subject")[] | undefined; source?: string | undefined; no_fallback?: boolean | undefined; workspace?: string | undefined; }, { design_uuid: string; design_url: string; source_used: string; fallback_trail: import("../image/generate.js").FallbackAttempt[]; }>; export declare const fitAspect: ToolDef<{ image_uuid: string; aspect: string; mode: "pad" | "crop"; background?: string | undefined; workspace?: string | undefined; }, { image_uuid: string | undefined; image_url: string | undefined; source_image_uuid: string; aspect: string; mode: string; dimensions: unknown; }>; export declare const archiveDesign: ToolDef<{ design_uuid: string; workspace?: string | undefined; }, Record>; export declare const restoreDesign: ToolDef<{ design_uuid: string; workspace?: string | undefined; }, Record>; export declare const deleteDesign: ToolDef<{ design_uuid: string; workspace?: string | undefined; }, Record>; export declare const designTools: ToolDef[]; export {};