/** * Moves a window to a specified position and resizes it. * * @param windowHandle The handle of the window to move. * @param x The X coordinate of the new position. * @param y The Y coordinate of the new position. * @param width The new width of the window. * @param height The new height of the window. * * @returns 1 if successful, 0 otherwise. * * @example * ```typescript * import { WinMoveByHandleSync, WinGetHandleSync } from '@ahmic/autoit-js'; * * const windowHandle = WinGetHandleSync('Untitled - Notepad'); * * WinMoveByHandleSync(windowHandle, 100, 100, 800, 600); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/WinMove.htm */ export declare function WinMoveByHandleSync(windowHandle: bigint, x: number, y: number, width?: number, height?: number): number; /** * Moves a window to a specified position and resizes it. * * @param windowHandle The handle of the window to move. * @param x The X coordinate of the new position. * @param y The Y coordinate of the new position. * @param width The new width of the window. * @param height The new height of the window. * * @returns A promise that resolves to 1 if successful, or 0 otherwise. * * @example * ```typescript * import { WinMoveByHandle, WinGetHandle } from '@ahmic/autoit-js'; * * const windowHandle = await WinGetHandle('Untitled - Notepad'); * * await WinMoveByHandle(windowHandle, 100, 100, 800, 600); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/WinMove.htm */ export declare function WinMoveByHandle(windowHandle: bigint, x: number, y: number, width?: number, height?: number): Promise;