import "../authorization/check-action.js"; import type { ActionEntry } from "../agent/production-agent.js"; type CliHandoffLaunchOutcome = { ok: true; } | { ok: false; reason: "disabled" | "missing-base" | "invalid-url" | "open-failed"; message: string; }; interface CliHandoffLaunchDeps { baseUrl?: string; env?: NodeJS.ProcessEnv; platform?: NodeJS.Platform; spawn?: (command: string, args: string[]) => { status: number | null; error?: Error; }; } export declare function openCliHandoff(urlOrPath: string, deps?: CliHandoffLaunchDeps): CliHandoffLaunchOutcome; export interface RunScriptOptions { packageActions?: Record; packageActionLabel?: string; } export declare function runScript(options?: RunScriptOptions): Promise; export declare function tryForwardToDevServer(actionName: string, args: string[]): Promise; export {};