/** * Sharp module helper — ensures sharp is available with auto-install fallback. * * Sharp is used for image cropping, resizing, and optimization throughout * the Figma pipeline. This module provides a reliable way to import it, * with auto-install in the target project if not already available. */ export type SharpInstance = any; export type SharpModule = { default: (input: Buffer | string) => SharpInstance; }; /** * Ensure sharp is available. If not found, auto-install it in the target * project's node_modules (same pattern as Playwright in visual-validation.ts). * * Returns the sharp module or null if installation fails. */ export declare function ensureSharp(log?: (msg: string) => void, cwd?: string): Promise; //# sourceMappingURL=sharp.d.ts.map