1 |
|
2 | import { imageType } from './types';
|
3 | import { ISizeCalculationResult } from './types/interface';
|
4 | declare type CallbackFn = (e: Error | null, r?: ISizeCalculationResult) => void;
|
5 | export default imageSize;
|
6 | export declare function imageSize(input: Buffer | string): ISizeCalculationResult;
|
7 | export declare function imageSize(input: string, callback: CallbackFn): void;
|
8 | export declare const disableFS: (v: boolean) => void;
|
9 | export declare const disableTypes: (types: imageType[]) => void;
|
10 | export declare const setConcurrency: (c: number) => void;
|
11 | export declare const types: string[];
|