You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
611 B
12 lines
611 B
/// <reference types="node" />
|
|
import { imageType } from './types';
|
|
import { ISizeCalculationResult } from './types/interface';
|
|
declare type CallbackFn = (e: Error | null, r?: ISizeCalculationResult) => void;
|
|
export default imageSize;
|
|
export declare function imageSize(input: Buffer | string): ISizeCalculationResult;
|
|
export declare function imageSize(input: string, callback: CallbackFn): void;
|
|
export declare const disableFS: (v: boolean) => void;
|
|
export declare const disableTypes: (types: imageType[]) => void;
|
|
export declare const setConcurrency: (c: number) => void;
|
|
export declare const types: string[];
|