fuc-new/doc/node_modules/image-size/dist/fromFile.d.mts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

10 lines
330 B
TypeScript

import { ISizeCalculationResult } from './types/interface.mjs';
declare const setConcurrency: (c: number) => void;
/**
* @param {string} filePath - relative/absolute path of the image file
*/
declare const imageSizeFromFile: (filePath: string) => Promise<ISizeCalculationResult>;
export { imageSizeFromFile, setConcurrency };