UNPKG

imagerot

Version:

A lightweight, cross-environment image library for applying unique effects via raw image buffers.

10 lines (9 loc) 312 B
import { IRotItem, TEffectPoolItem } from '../../../types'; declare const useMode: ({ data, width, height }: IRotItem, effectPool: { [key: string]: TEffectPoolItem; }, mode: string | string[]) => Promise<{ data: Uint8Array<ArrayBufferLike>; width: number; height: number; }>; export { useMode };