imagerot
Version:
A lightweight, cross-environment image library for applying unique effects via raw image buffers.
11 lines (10 loc) • 337 B
TypeScript
import { TEffectOptions, IRotItem, TEffectPoolItem } from '../../../types';
type TApplyEffectHandler = (params: IRotItem & {
effectPool: {
[key: string]: TEffectPoolItem;
};
effect: string;
options?: TEffectOptions;
}) => Promise<IRotItem>;
declare const applyEffect: TApplyEffectHandler;
export { applyEffect };