import type { DitherMethod, Gif, UnencodedFrame } from './types' export interface EncoderOptions extends Partial> { /** GIF width */ width: number /** GIF height */ height: number /** The frames that needs to be encoded */ frames?: Array /** Enable debug mode to view the execution time log */ debug?: boolean /** Worker script url */ workerUrl?: string /** Max colors count 2-255 */ maxColors?: number /** Palette premultipliedAlpha */ premultipliedAlpha?: boolean /** Palette tint */ tint?: Array /** Specifies the dithering method to be used for colors */ dither?: DitherMethod /** Specifies the dithering method to be used for partially transparent pixels */ ditherTransparency?: DitherMethod }