Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
# Installation > `npm install --save @types/imagemin` # Summary This package contains type definitions for imagemin (https://github.com/imagemin/imagemin#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin/index.d.ts) ````ts /// /** * @async */ declare function imagemin(input: readonly string[], options?: Options): Promise; declare namespace imagemin { /** * @async */ function buffer(input: Buffer, options?: BufferOptions): Promise; } export type Plugin = (input: Uint8Array) => Promise; export interface Options { destination?: string | undefined; plugins: readonly Plugin[]; glob?: boolean | undefined; } export interface Result { data: Buffer; sourcePath: string; destinationPath: string; } export interface BufferOptions { plugins: readonly Plugin[]; } export default imagemin; ```` ### Additional Details * Last updated: Mon, 03 Jun 2024 21:07:33 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Romain Faust](https://github.com/romain-faust), and [Jeff Chan](https://github.com/hkjeffchan).