/** * A process target Node can spawn with `shell: false`. * The caller appends its own argv after `argsPrefix`. */ export interface BrowserLaunch { command: string; argsPrefix: string[]; } export interface BrowserLaunchOptions { platform?: NodeJS.Platform; nodeExecutable?: string; lookup?: (command: string, args: string[]) => string; fileExists?: (path: string) => boolean; readFile?: (path: string) => string; } /** * Locate a globally installed `agent-browser`. * POSIX: the command name itself (spawned without a shell, as before). * Windows: a native `.exe`, or `node ` behind the npm shim; null when * neither can be resolved without a shell. */ export declare function resolveAgentBrowserLaunch(options?: BrowserLaunchOptions): BrowserLaunch | null; /** * Locate `npx` for the `npx --yes agent-browser` fallback. * POSIX: `npx` itself. Windows: `node /bin/npx-cli.js`, taken from the * running Node's own npm or from the npm that `where.exe npx` points at. */ export declare function resolveNpxLaunch(options?: BrowserLaunchOptions): BrowserLaunch | null; //# sourceMappingURL=browser-command.d.ts.map