import type { VeniceClient } from './client.js'; import type { MultiEditModel } from './types.js'; export interface MultiEditOptions { model?: MultiEditModel; prompt: string; baseImage: string; referenceImages?: string[]; } export declare function loadImageAsDataUri(filePath: string): Promise; /** * Return the mtime (ms since epoch) for each reference image. Useful for * diagnostic logs — "character refs loaded: front.png mtime=… three-quarter.png * mtime=…" lets the operator confirm the latest regeneration was picked up. * * Missing files are silently dropped so callers can pass an optimistic list. */ export declare function referenceFreshness(paths: string[]): Promise>; /** * Edit a panel image using character references via Venice multi-edit. * * The base image (the generated panel) is image[0]. Character reference * images are image[1] and image[2] (up to 3 total). The prompt instructs * the model to align characters in the base image with the references. * * Returns raw PNG buffer. */ export declare function multiEditImage(client: VeniceClient, options: MultiEditOptions): Promise; /** * Fix character appearance in a panel by referencing character images. * Constructs a targeted edit prompt from the character's description. */ export declare function fixCharacterInPanel(client: VeniceClient, panelBase64: string, characterRef: string, editPrompt: string, model?: MultiEditModel): Promise; /** * Two-character fix: pass both character references as layers. */ export declare function fixTwoCharactersInPanel(client: VeniceClient, panelBase64: string, char1Ref: string, char2Ref: string, editPrompt: string, model?: MultiEditModel): Promise; //# sourceMappingURL=multi-edit.d.ts.map