import type { ArtifactFormat, InstallTarget, ParsedArgs } from './commands'; import type { DownloadedArtifact } from './download'; import { type PanePlatform } from './platform'; export interface InstalledPane { executablePath: string; installKind: 'existing' | 'installed' | 'launched-installer'; } export declare function resolveExistingPanePath(panePath?: string): string | undefined; export declare function shouldReuseExistingPane(parsed: Pick, target: InstallTarget): boolean; export declare function installPaneArtifact(artifact: DownloadedArtifact, options: { parsed: ParsedArgs; platform: PanePlatform; format: Exclude; target: InstallTarget; }): Promise; export declare function spawnPane(executablePath: string, args: string[]): Promise; export interface CapturedPaneResult { code: number; stdout: string; stderr: string; } export declare function spawnPaneCaptured(executablePath: string, args: string[]): Promise; export declare function buildPaneDaemonArgs(args: string[], platform?: NodeJS.Platform): string[]; export declare function buildPaneDaemonEnvironment(platform?: NodeJS.Platform, baseEnvironment?: NodeJS.ProcessEnv): NodeJS.ProcessEnv; export declare function launchPaneClient(executablePath: string): void; //# sourceMappingURL=installers.d.ts.map