import type { Sharp } from 'sharp'; /** * Attach Sharp's native libvips timeout to an output-capable pipeline. * * Unlike a Promise race, this stops the underlying native work rather than * merely releasing the JavaScript caller while libvips keeps processing. */ export declare function applySharpProcessingTimeout(sharpInstance: Sharp): Sharp; /** * Detect the timeout error emitted by Sharp/libvips, including errors wrapped * by this package's PreviewGeneratorError details/cause chains. */ export declare function isSharpProcessingTimeout(error: unknown): boolean;