import type { ManagedSession } from "../core/types.js"; export interface SessionInput { cwd: string; title?: string; group?: string; additionalCwds?: string[]; worktree?: { branch: string; }; } export interface ForkInput { title?: string; group?: string; } export declare function managedPiCommand(input: { piArgs: string[]; prelude?: string; shell?: string; }): string; export declare function addManagedSession(input: SessionInput): Promise; export declare function startManagedSession(id: string): Promise; export declare function stopManagedSession(id: string): Promise; export declare function restartManagedSession(id: string): Promise; export declare function restartManagedSessionFresh(id: string): Promise; export declare function syncManagedSessionStatusBars(): Promise; export declare function forkManagedSession(sourceId: string, input?: ForkInput): Promise;