method MagickImageCollection.prototype.flattenRe-exportimport { MagickImageCollection } from "https://deno.land/x/lume@v1.19.1/deps/imagick.ts"; flatten<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnTypeflatten<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>Type ParametersTReturnTypeParametersfunc: (image: IMagickImage) => TReturnTypeReturnsTReturnTypeType ParametersTReturnTypeParametersfunc: (image: IMagickImage) => Promise<TReturnType>ReturnsPromise<TReturnType>