/** * GIF to WebP Converter - Instance-based converter for GIF to WebP conversion */ import { WebPEncodeOptions } from './types'; /** * GIF to WebP Converter class * * Converts GIF images (including animated GIFs) to WebP format. * * @example * ```typescript * const converter = new GIF2WebPConverter({ quality: 80 }); * const webpData = converter.convert(gifData); * converter.close(); * ``` */ export declare class GIF2WebPConverter { private cmdPtr; private closed; /** * Create a new GIF to WebP converter with the given options * @param options Partial WebP encoding options (merged with defaults) */ constructor(options?: Partial); /** * Convert GIF data to WebP format * @param gifData Buffer containing GIF file data * @returns WebP encoded data as Buffer */ convert(gifData: Buffer): Buffer; /** * Close the converter and release resources */ close(): void; /** * Convert WebP options to C struct pointer */ private convertOptions; } //# sourceMappingURL=gif2webp-converter.d.ts.map