1 | import { SpawnOptions, SpawnResult } from '@expo/spawn-async';
|
2 | import { ExecAsyncOptions } from 'exec-async';
|
3 | declare function osascriptExecAsync(script: string | string[], opts?: ExecAsyncOptions): Promise<string>;
|
4 | declare function osascriptSpawnAsync(script: string | string[], opts?: SpawnOptions): Promise<SpawnResult>;
|
5 | declare function isAppRunningAsync(appName: string): Promise<boolean>;
|
6 | declare function safeIdOfAppAsync(appName: string): Promise<string | null>;
|
7 | declare function openFinderToFolderAsync(dir: string, activate?: boolean): Promise<void>;
|
8 | declare function openInAppAsync(appName: string, pth: string): Promise<SpawnResult>;
|
9 | declare function chooseAppAsync(listOfAppNames: string[]): Promise<string | null>;
|
10 | declare function chooseEditorAppAsync(preferredEditor?: string): Promise<string | null>;
|
11 | declare function chooseTerminalAppAsync(): Promise<string | null>;
|
12 | declare function openInEditorAsync(pth: string, preferredEditor?: string): Promise<SpawnResult>;
|
13 | declare function openItermToSpecificFolderAsync(dir: string): Promise<SpawnResult>;
|
14 | declare function openTerminalToSpecificFolderAsync(dir: string, inTab?: boolean): Promise<SpawnResult>;
|
15 | declare function openFolderInTerminalAppAsync(dir: string, inTab?: boolean): Promise<SpawnResult>;
|
16 | export { chooseAppAsync, chooseEditorAppAsync, chooseTerminalAppAsync, osascriptExecAsync as execAsync, isAppRunningAsync, openFinderToFolderAsync, openFolderInTerminalAppAsync, openInAppAsync, openInEditorAsync, openItermToSpecificFolderAsync, openTerminalToSpecificFolderAsync, safeIdOfAppAsync, osascriptSpawnAsync as spawnAsync, };
|