UNPKG

@promptbook/remote-client

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

30 lines (29 loc) 762 B
import type { RequireAtLeastOne } from 'type-fest'; import type { string_executable_path } from '../types/string_filename'; /** * Options for locating any application */ export type LocateAppOptions = { /** * Name of the application */ appName: string; /** * Name of the executable on Linux */ linuxWhich?: string; /** * Path suffix on Windows */ windowsSuffix?: string; /** * Name of the application on macOS */ macOsName?: string; }; /** * Locates an application on the system * * @private within the repository */ export declare function locateApp(options: RequireAtLeastOne<LocateAppOptions, 'linuxWhich' | 'windowsSuffix' | 'macOsName'>): Promise<string_executable_path | null>;