Spaces:
Runtime error
Runtime error
Download node_modules/image-size/dist/index.d.ts from TrinetraLabs/PlaceboAI: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/spaces/TrinetraLabs/PlaceboAI/resolve/main/node_modules/image-size/dist/index.d.ts
- Command line
-
hf download hf://spaces/TrinetraLabs/PlaceboAI/node_modules/image-size/dist/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/TrinetraLabs/PlaceboAI/resolve/main/node_modules/image-size/dist/index.d.ts
592 Bytes
| 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[]; | |