/** * Hides a control in a window. * * @param windowTitle The title of the window to search for. * @param windowText Optional text found in the window. * @param controlId The ID of the control to hide. * * @returns 1 if successful, 0 otherwise. * * @example * ```typescript * import { ControlHideSync } from '@ahmic/autoit-js'; * * ControlHideSync('Untitled - Notepad', '', 'Edit1'); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ControlHide.htm */ export declare function ControlHideSync(windowTitle: string, windowText: string, controlId: string): number; /** * Hides a control in a window. * * @param windowTitle The title of the window to search for. * @param windowText Optional text found in the window. * @param controlId The ID of the control to hide. * * @returns A promise that resolves to 1 if successful, or 0 otherwise. * * @example * ```typescript * import { ControlHide } from '@ahmic/autoit-js'; * * await ControlHide('Untitled - Notepad', '', 'Edit1'); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ControlHide.htm */ export declare function ControlHide(windowTitle: string, windowText: string, controlId: string): Promise;