import type { ImageFormat, ProcessingResult } from './types.js'; export interface RunOptions { files: string[]; format?: ImageFormat; quality: number; breakpoints?: number[]; onProgress?: (result: ProcessingResult) => void; } /** * Batch convert: every file is re-encoded in `format`. */ export declare function runConvert(opts: RunOptions & { format: ImageFormat; }): Promise; /** * Batch resize: generates every breakpoint variant for each file. * If `format` is provided, variants are re-encoded into that format. */ export declare function runResize(opts: RunOptions & { breakpoints: number[]; }): Promise; /** * Combined workflow: resize to every breakpoint, each variant encoded in `format`. */ export declare function runResizeConvert(opts: RunOptions & { format: ImageFormat; breakpoints: number[]; }): Promise; /** * Detect in-batch output filename collisions and return a per-source infix * (the original extension without dot) to keep outputs unique. * * Sources that don't collide get `undefined` — clean names, unchanged. * Sources inside a colliding group get their original extension as infix * (e.g. `images.jpg` + `images.png` → `images.jpg.webp` + `images.png.webp`). */ export declare function computeDisambiguators(files: string[], format?: ImageFormat): Map; //# sourceMappingURL=pipeline.d.ts.map