UNPKG

@promptbook/langtail

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

34 lines (33 loc) 954 B
import type { RequireAtLeastOne } from 'type-fest'; import type { string_executable_path } from '../types/typeAliases'; /** * Options for locating any application */ export interface 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>; /** * TODO: [🧠][♿] Maybe export through `@promptbook/node` * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment */