This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

10 lines
449 B
TypeScript
Raw Normal View History

2021-04-02 02:24:13 +03:00
import { Image, Omit } from '@jimp/core';
import { ThrowStatement } from 'typescript';
export function isNodePattern(cb: Function): true;
export function isNodePattern(cb: Omit<any, Function>): false;
export function throwError(error: string | Error, cb?: (err: Error) => void): ThrowStatement;
export function scan(image: Image, x: number, y: number, w: number, h: number, f: (image: Image, _x: number, _y: number, idx: number) => void): Image;