import { SpawnOptions, SpawnResult } from '@expo/spawn-async'; import { ExecAsyncOptions } from 'exec-async'; declare function osascriptExecAsync(script: string | string[], opts?: ExecAsyncOptions): Promise; declare function osascriptSpawnAsync(script: string | string[], opts?: SpawnOptions): Promise; declare function isAppRunningAsync(appName: string): Promise; declare function safeIdOfAppAsync(appName: string): Promise; declare function openFinderToFolderAsync(dir: string, activate?: boolean): Promise; declare function openInAppAsync(appName: string, pth: string): Promise; declare function chooseAppAsync(listOfAppNames: string[]): Promise; declare function chooseEditorAppAsync(preferredEditor?: string): Promise; declare function chooseTerminalAppAsync(): Promise; declare function openInEditorAsync(pth: string, preferredEditor?: string): Promise; declare function openItermToSpecificFolderAsync(dir: string): Promise; declare function openTerminalToSpecificFolderAsync(dir: string, inTab?: boolean): Promise; declare function openFolderInTerminalAppAsync(dir: string, inTab?: boolean): Promise; export { chooseAppAsync, chooseEditorAppAsync, chooseTerminalAppAsync, osascriptExecAsync as execAsync, isAppRunningAsync, openFinderToFolderAsync, openFolderInTerminalAppAsync, openInAppAsync, openInEditorAsync, openItermToSpecificFolderAsync, openTerminalToSpecificFolderAsync, safeIdOfAppAsync, osascriptSpawnAsync as spawnAsync, };