mcp-appium-visual
Version:
MCP Server for Appium mobile automation with visual recovery
31 lines • 827 B
TypeScript
/**
* Get the Jimp module - caches the result after first call
* @returns The Jimp module with all utility functions
*/
export function getJimp(): Promise<{
module: any;
Jimp: any;
intToRGBA: any;
rgbaToInt: any;
colorDiff: any;
limit255: any;
}>;
/**
* Helper function to read an image file
* @param path Path to the image file
* @returns Promise that resolves to a Jimp image
*/
export function readImage(path: any): Promise<any>;
/**
* Helper function to convert integer color to RGBA
* @param colorInt Integer representation of color
* @returns RGBA object
*/
export function intToRGBA(colorInt: any): Promise<any>;
declare namespace _default {
export { getJimp };
export { readImage };
export { intToRGBA };
}
export default _default;
//# sourceMappingURL=jimp-async.d.ts.map