export type Ide = 'zed' | 'vscode' | 'cursor' | 'windsurf' | 'jetbrains' | 'unknown'; export type Mux = 'zellij' | 'tmux' | 'screen' | 'none'; export type ForgeProvider = 'github' | 'gitlab' | 'none'; export interface VcsInfo { provider: ForgeProvider; host: string; owner: string; repo: string; branch: string; root: string; } export interface LaunchOptions { cwd: string; name?: string; env?: NodeJS.ProcessEnv; homeDir?: string; } export interface LaunchResult { launched: boolean; configured?: boolean; via: 'zellij' | 'zellij-run' | 'tmux' | 'screen' | 'zed' | 'vscode' | 'cursor' | 'windsurf' | 'jetbrains' | 'zed-task' | 'print'; command: string; taskName?: string; instruction?: string; reason?: string; } type Env = NodeJS.ProcessEnv; export declare function detectIde(env?: Env): Ide; export declare function detectMux(env?: Env): Mux; export declare function detectShell(env?: Env): string; export declare function detectVcs(cwd: string): Promise; export declare function parseRemote(remote: string): { provider: ForgeProvider; host: string; owner: string; repo: string; }; export declare function diffpiLaunchName(cwd: string, workflow: string): string; export declare function openFileAdjacent(path: string, opts: LaunchOptions): Promise; export declare function screenWindowArgs(command: string[], cwd: string, name: string): string[]; export declare function persistentEditorArgs(editor: string, path: string, cwd: string, shell?: string): string[]; export declare function resolveEditor(env: NodeJS.ProcessEnv): Promise; export {}; //# sourceMappingURL=environment.d.ts.map