UNPKG

magic-img

Version:

让你的图片加载更加优雅

33 lines (31 loc) 608 B
declare enum Mode { combo = 0, triangle = 1, rect = 2, ellipse = 3, rotatedrect = 4, beziers = 5, rotatedellipse = 6, polygon = 7 } type LqipOptions = { w: number; h?: number; }; type SqipOptions = { numberOfPrimitives: number; blur: number; mode: Mode; }; type CucolorisOptions = { background: string; color: string; threshold: number; w: number; h?: number; }; type DrawOptions = { w: number; h?: number; }; export { CucolorisOptions as C, DrawOptions as D, LqipOptions as L, SqipOptions as S };