import { type ManagedProcessRecord, type ProcessSpec } from "../../packages/process-launcher/dist/index.js"; export type { ManagedProcessRecord, ProcessSpec } from "../../packages/process-launcher/dist/index.js"; export interface LaunchBaseOptions { cwd?: string; homeDir?: string; variables?: Record; } export interface StartLaunchOptions extends LaunchBaseOptions { spec: ProcessSpec; } export interface StopLaunchOptions extends LaunchBaseOptions { id: string; force?: boolean; } export interface RestartLaunchOptions extends LaunchBaseOptions { id: string; } export type ListLaunchesOptions = LaunchBaseOptions; export interface ReadLaunchLogsOptions extends LaunchBaseOptions { id: string; lines?: number; stream?: "stdout" | "stderr"; } export interface FollowLaunchLogsSdkOptions extends LaunchBaseOptions { id: string; lines?: number; pollIntervalMs?: number; signal?: AbortSignal; stream?: "stdout" | "stderr"; } export interface RemoveLaunchOptions extends LaunchBaseOptions { id: string; } export interface RunLaunchDaemonOptions extends LaunchBaseOptions { id: string; signal?: AbortSignal; } export declare function startLaunch(options: StartLaunchOptions): Promise; export declare function stopLaunch(options: StopLaunchOptions): Promise; export declare function restartLaunch(options: RestartLaunchOptions): Promise; export declare function listLaunches(options?: ListLaunchesOptions): Promise; export declare function readLaunchLogs(options: ReadLaunchLogsOptions): Promise; export declare function followLaunchLogs(options: FollowLaunchLogsSdkOptions): AsyncIterable; export declare function removeLaunch(options: RemoveLaunchOptions): Promise; export declare function runLaunchDaemon(options: RunLaunchDaemonOptions): Promise;