import type { VeniceClient } from "./client.js"; export interface EditImageOptions { image: string; mask?: string; prompt: string; strength?: number; model?: string; steps?: number; cfg_scale?: number; seed?: number; safe_mode?: boolean; } export interface EditImageResult { base64: string; seed: number | undefined; } /** * @deprecated The /images/edit inpainting endpoint was disabled May 19, 2025. * Use multiEditImage from multi-edit.ts instead. */ export declare function editImage(client: VeniceClient, options: EditImageOptions): Promise; export interface UpscaleImageOptions { /** Base64-encoded image or data URL */ image: string; /** Upscale factor (e.g. 2, 4). Model-dependent. */ scale?: number; /** Model override. Default determined by Venice. */ model?: string; } export interface UpscaleImageResult { /** Base64-encoded upscaled image */ base64: string; } /** * Upscale an image using Venice's AI upscaling endpoint. * Returns the upscaled image as base64. */ export declare function upscaleImage(client: VeniceClient, options: UpscaleImageOptions): Promise; /** * Upscale an image and save the result to disk. */ export declare function upscaleImageToFile(client: VeniceClient, options: UpscaleImageOptions, outputPath: string): Promise; export interface RemoveBackgroundOptions { /** Base64-encoded image or data URL */ image: string; /** Model override. Default: bria-bg-remover */ model?: string; } export interface RemoveBackgroundResult { base64: string; } /** * Remove the background from an image. * Returns the image with transparent background as base64 PNG. */ export declare function removeBackground(client: VeniceClient, options: RemoveBackgroundOptions): Promise; //# sourceMappingURL=edit.d.ts.map