import type { ToolTarget } from './host.js'; import type { ImageToolOptions, Rect } from './types.js'; type ImageEditRun = { options?: ImageToolOptions; } & ({ tool: 'expand'; frame: Rect; prompt?: string; } | { tool: 'inpaint'; region: Rect; operation: 'replace'; prompt: string; } | { tool: 'inpaint'; region: Rect; operation: 'remove'; } | { tool: 'upscale' | 'remove-background'; }); export declare function editImage(element: ToolTarget, run: ImageEditRun): Promise; export {};