D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
image-size
/
dist
/
Filename :
index.d.ts
back
Copy
import type { imageType } from './types/index'; import type { ISizeCalculationResult } from './types/interface'; type CallbackFn = (e: Error | null, r?: ISizeCalculationResult) => void; export default imageSize; export declare function imageSize(input: Uint8Array | 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[];