/** * Retrieves text from the clipboard. * * @param characterCount The maximum number of characters to retrieve. Default is 2048. * * @returns The text from the clipboard. * * @example * ```typescript * import { ClipGetSync } from '@ahmic/autoit-js'; * * // Assuming the text "Hello" is in the clipboard * * for (let i = 0; i < 5; i++) { * console.log(ClipGetSync(i + 1)); * } * * // Output: * // H * // He * // Hel * // Hell * // Hello * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ClipGet.htm */ export declare function ClipGetSync(characterCount?: number): string; /** * Retrieves text from the clipboard. * * @param characterCount The maximum number of characters to retrieve. Default is 2048. * * @returns A promise that resolves to the text from the clipboard. * * @example * ```typescript * import { ClipGet } from '@ahmic/autoit-js'; * * // Assuming the text "Hello" is in the clipboard * * for (let i = 0; i < 5; i++) { * console.log(await ClipGet(i + 1)); * } * * // Output: * // H * // He * // Hel * // Hell * // Hello * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ClipGet.htm */ export declare function ClipGet(characterCount?: number): Promise;