/** * Shows 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 show. * * @returns 1 if successful, 0 otherwise. * * @example * ```typescript * import { ControlShowSync } from '@ahmic/autoit-js'; * * ControlShowSync('Untitled - Notepad', '', 'Edit1'); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ControlShow.htm */ export declare function ControlShowSync(windowTitle: string, windowText: string, controlId: string): number; /** * Shows 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 show. * * @returns A promise that resolves to 1 if successful, or 0 otherwise. * * @example * ```typescript * import { ControlShow } from '@ahmic/autoit-js'; * * await ControlShow('Untitled - Notepad', '', 'Edit1'); * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ControlShow.htm */ export declare function ControlShow(windowTitle: string, windowText: string, controlId: string): Promise;