export interface TmuxPaneSnapshot { paneId: string; currentCommand: string; startCommand: string; } export declare const OMX_TMUX_HUD_LEADER_PANE_ENV = "OMX_TMUX_HUD_LEADER_PANE"; export interface HudPaneOwner { sessionId?: string; leaderPaneId?: string; } type TmuxExecSync = (args: string[]) => string; export declare function parseTmuxPaneSnapshot(output: string): TmuxPaneSnapshot[]; export declare function isHudWatchPane(pane: TmuxPaneSnapshot): boolean; export declare function readHudPaneOwner(pane: TmuxPaneSnapshot): HudPaneOwner; export declare function hudPaneMatchesOwner(pane: TmuxPaneSnapshot, owner?: HudPaneOwner): boolean; export declare function findHudWatchPaneIds(panes: TmuxPaneSnapshot[], currentPaneId?: string, owner?: HudPaneOwner): string[]; export declare function parsePaneIdFromTmuxOutput(rawOutput: string): string | null; export declare function shellEscapeSingle(value: string): string; export declare function buildHudResizeHookName(sessionId: string, windowId: string): string; export declare function buildHudResizeHookSlot(hookName: string): string; export interface HudResizeHookContext { sessionId: string; windowId: string; hookName: string; hookSlot: string; } export declare function parseHudResizeHookContext(output: string): HudResizeHookContext | null; export declare function readHudResizeHookContext(currentPaneId: string | undefined, execTmuxSync?: TmuxExecSync): HudResizeHookContext | null; export declare function buildHudWatchCommand(omxBin: string, preset?: string, sessionId?: string, omxRoot?: string, leaderPaneId?: string): string; export declare function listCurrentWindowPanes(execTmuxSync?: TmuxExecSync, currentPaneId?: string): TmuxPaneSnapshot[]; export declare function listCurrentWindowHudPaneIds(currentPaneId?: string, execTmuxSync?: TmuxExecSync, owner?: HudPaneOwner): string[]; export declare function readCurrentWindowSize(execTmuxSync?: TmuxExecSync, currentPaneId?: string): { width: number | null; height: number | null; }; export declare function createHudWatchPane(cwd: string, hudCmd: string, options?: { heightLines?: number; fullWidth?: boolean; targetPaneId?: string; }, execTmuxSync?: TmuxExecSync): string | null; export declare function killTmuxPane(paneId: string, execTmuxSync?: TmuxExecSync): boolean; export declare function resizeTmuxPane(paneId: string, heightLines: number, execTmuxSync?: TmuxExecSync): boolean; export declare function registerHudResizeHook(hudPaneId: string, currentPaneId: string | undefined, heightLines: number, execTmuxSync?: TmuxExecSync): boolean; export declare function unregisterHudResizeHook(currentPaneId: string | undefined, execTmuxSync?: TmuxExecSync): boolean; export {}; //# sourceMappingURL=tmux.d.ts.map