/** * Utility for running AppleScript via osascript on macOS. */ /** * Execute an AppleScript expression and return its stdout as a trimmed string. * * @param script - The AppleScript source to execute via `osascript -e`. * @returns The trimmed stdout produced by the script. * @throws If the platform is not macOS or the script fails. */ export declare function runOsascript(script: string): string; /** * Escape a string so it can be safely passed as a single shell argument * wrapped in single quotes. */ export declare function escapeForShell(str: string): string; //# sourceMappingURL=osascript.d.ts.map