magica
Version:
ImageMagick for browser and Node.js, easy setup, high level API and Command Line Interface, including WASM binary for an easy setup.
6 lines (5 loc) • 442 B
TypeScript
import { CommandPreprocessor, Options, RunOptions } from '../types';
/** internal - executes all registered preprocessor on given config */
export declare function _compileTimePreprocess(config: RunOptions): Promise<RunOptions>;
export declare function _runTimePreprocess(runOptions: RunOptions, commandOptions: Options, commandIndex: number): Promise<void>;
export declare function registerCommandPreprocessor(p: CommandPreprocessor): void;