Files
Dmytro Stanchiev 15be750b5c need dist for plugins
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-19 19:15:51 -04:00

19 lines
676 B
TypeScript

import type { TmuxLayout } from "../../../config/schema";
type TmuxSpawnCommand = (args: string[], options: {
stdout: "ignore";
stderr: "ignore";
}) => {
exited: Promise<number>;
};
interface LayoutDeps {
spawnCommand?: TmuxSpawnCommand;
}
interface MainPaneWidthOptions {
mainPaneSize?: number;
mainPaneMinWidth?: number;
agentPaneMinWidth?: number;
}
export declare function applyLayout(tmux: string, layout: TmuxLayout, mainPaneSize: number, deps?: LayoutDeps): Promise<void>;
export declare function enforceMainPaneWidth(mainPaneId: string, windowWidth: number, mainPaneSizeOrOptions?: number | MainPaneWidthOptions): Promise<void>;
export {};