import { type SetupCommandResult, type SetupCommandSpec } from "../setup/commands.js"; export type PrimusPreviewOptions = { workingDir: string; primusHome: string; scriptPath: string; expression?: string; }; export type PrimusPreviewResult = { url: string; browserOpened: boolean; }; type PrimusPreviewDependencies = { environment?: NodeJS.ProcessEnv; pathExists?: (path: string) => boolean; platform?: NodeJS.Platform; runCommand?: (spec: SetupCommandSpec) => Promise; }; export declare function previewUrlForDisplay(baseUrl: string): string; export declare function launchPreviewHandoff(options: PrimusPreviewOptions, dependencies?: PrimusPreviewDependencies): Promise; export {};