import { IRect } from './@types'; /** * Retrieves the client area dimensions of a window. * * @param windowHandle The handle of the window to access. * * @returns An {@linkcode IRect} object containing the width and height of the client area. * * @example * ```typescript * import { WinGetClientSizeByHandleSync, WinGetHandleSync } from '@ahmic/autoit-js'; * * const windowHandle = WinGetHandleSync('Untitled - Notepad'); * const clientSize = WinGetClientSizeByHandleSync(windowHandle); * * console.log(clientSize); // Output: { width: 800, height: 600 } * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/WinGetClientSize.htm */ export declare function WinGetClientSizeByHandleSync(windowHandle: bigint): IRect; /** * Retrieves the client area dimensions of a window. * * @param windowHandle The handle of the window to access. * * @returns A promise that resolves to an {@linkcode IRect} object containing the width and height of the * client area. * * @example * ```typescript * import { WinGetClientSizeByHandle, WinGetHandle } from '@ahmic/autoit-js'; * * const windowHandle = await WinGetHandle('Untitled - Notepad'); * const clientSize = await WinGetClientSizeByHandle(windowHandle); * * console.log(clientSize); // Output: { width: 800, height: 600 } * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/WinGetClientSize.htm */ export declare function WinGetClientSizeByHandle(windowHandle: bigint): Promise;