1 | /**
|
2 | * Executes a command with arguments and returns the stdout and stderr.
|
3 | *
|
4 | * @param {string} command the command to run (convert, identify, etc).
|
5 | * @param {string[]} args
|
6 | * @returns {Promise<IImageMagickCommandResult>}
|
7 | */
|
8 | export declare function execute(command: string, args: string[]): Promise<IImageMagickCommandResult>;
|
9 | /**
|
10 | * Returns the latest available version of ImageMagick
|
11 | *
|
12 | * @param {boolean} fresh Do not used previously found version
|
13 | * @returns {Promise<number>}
|
14 | */
|
15 | export declare function getImageMagickVersion(fresh?: boolean): Promise<number>;
|
16 | export interface IImageMagickCommandResult {
|
17 | stdout: string;
|
18 | stderr: string;
|
19 | }
|