LarpixClient/node_modules/super-image-cropper/esm/lib/synthetic-gif.d.ts
olcxja 95aaaa69ea big updat:
- update dependencies
- add webp support and webp conversion for profile images
2026-07-02 22:40:46 +02:00

19 lines
690 B
TypeScript

import { ICommonCropOptions, ICropperOptions } from '../index';
import { IOutputTypeUnion } from '../index';
export interface IFrameCropperProps {
commonCropOptions: ICommonCropOptions;
frames: ImageData[];
frameDelays: number[];
gifJsOptions?: ICropperOptions['gifJsOptions'];
outputType?: IOutputTypeUnion;
}
export declare class SyntheticGIF {
private cropperJsOpts;
private frames;
private frameDelays;
private gifJsOptions;
private outputType;
constructor({ frames, commonCropOptions, frameDelays, gifJsOptions, outputType }: IFrameCropperProps);
bootstrap(): Promise<string | Blob>;
private convertBlob2Base64;
}