need dist for plugins

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-19 19:15:51 -04:00
parent 25291b2ba4
commit 15be750b5c
55 changed files with 29302 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
import type { CapacityConfig, TmuxPaneInfo } from "./types";
export interface GridCapacity {
cols: number;
rows: number;
total: number;
}
export interface GridSlot {
row: number;
col: number;
}
export interface GridPlan {
cols: number;
rows: number;
slotWidth: number;
slotHeight: number;
}
type CapacityOptions = CapacityConfig | number | undefined;
export declare function calculateCapacity(windowWidth: number, windowHeight: number, options?: CapacityOptions, mainPaneWidth?: number): GridCapacity;
export declare function computeGridPlan(windowWidth: number, windowHeight: number, paneCount: number, options?: CapacityOptions, mainPaneWidth?: number): GridPlan;
export declare function mapPaneToSlot(pane: TmuxPaneInfo, plan: GridPlan, mainPaneWidth: number): GridSlot;
export {};