export type Direction = "up" | "down" | "left" | "right"; export interface PlatformProvider { supportedSplitDirections(): Direction[]; openFinder(cwd: string): Promise; openTerminal(cwd: string): Promise; split(direction: Direction, cwd: string): Promise; } export type Action = { id: string; label: string; exec: (cwd: string) => Promise; };