UNPKG

vde-layout

Version:

Terminal multiplexer layout management tool for VDE (Vibe Coding Development Environment)

34 lines 1 kB
import { z } from "zod"; import { ConfigSchema, PresetSchema, LayoutSchema, PaneSchema } from "./schema"; export type Config = z.infer<typeof ConfigSchema>; export type Preset = z.infer<typeof PresetSchema>; export type Layout = z.infer<typeof LayoutSchema>; export type Pane = z.infer<typeof PaneSchema>; export type SplitPane = Pane & { type: "horizontal" | "vertical"; ratio: number[]; panes: Pane[]; }; export type TerminalPane = Pane & { name: string; command?: string; cwd?: string; env?: Record<string, string>; delay?: number; title?: string; focus?: boolean; }; export declare function isSplitPane(pane: unknown): pane is SplitPane; export declare function isTerminalPane(pane: unknown): pane is TerminalPane; export interface CLIOptions { preset?: string; list?: boolean; dryRun?: boolean; verbose?: boolean; } export interface PresetInfo { key: string; name: string; description?: string; } //# sourceMappingURL=types.d.ts.map