/** * Losslessly compresses PNG icon files using OptiPNG. * Mimics how ImgBot compresses images: lossless PNG compression at optimization level 7 * with metadata stripping. */ export declare class IconsCompressor { private readonly iconsDir; constructor(iconsDir: string); /** * Compress all PNG files in the icon directory using OptiPNG. */ compress(): Promise; /** * Get the path to the optipng binary from optipng-bin package. * Uses require.resolve to find the package root, then constructs the vendor binary path. */ getOptipngPath(): string; }