/** * Retrieves the color of a pixel at the specified screen coordinates. * * @param x The X coordinate of the pixel. * @param y The Y coordinate of the pixel. * * @returns The color of the pixel as a hexadecimal number. * * @example * ```typescript * import { PixelGetColorSync } from '@ahmic/autoit-js'; * * const color = PixelGetColorSync(50, 50); * * console.log(color.toString(16)); // Output: "ff00ff" * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/PixelGetColor.htm */ export declare function PixelGetColorSync(x: number, y: number): number; /** * Retrieves the color of a pixel at the specified screen coordinates. * * @param x The X coordinate of the pixel. * @param y The Y coordinate of the pixel. * * @returns A promise that resolves to the color of the pixel as a hexadecimal number. * * @example * ```typescript * import { PixelGetColor } from '@ahmic/autoit-js'; * * const color = await PixelGetColor(50, 50); * * console.log(color.toString(16)); // Output: "ff00ff" * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/PixelGetColor.htm */ export declare function PixelGetColor(x: number, y: number): Promise;