import { type Bounds, type TerminalThemeProfile, type WindowCommand, type WindowLaunchFailure } from "@termfleet/core/types.js"; import type { AgentProvider } from "@termfleet/core/internal/agent-session-index.js"; export type PersistentWindowLayout = { agent?: AgentProvider; agentCwd?: string; agentSessionId?: string; bounds: Bounds; command?: WindowCommand; control?: boolean; controlCwd?: string; cwd?: string; duplicateFromSession?: string; filesystemId?: string; id: number; kind?: "terminal" | "folder" | "file" | "iframe"; launchFailure?: WindowLaunchFailure; name?: string; path?: string; session: string; src?: string; transport?: "preview" | "tunnel"; }; export type PersistentProviderLayout = { displayBounds?: Bounds; nextWindowId?: number; terminalThemeProfile?: TerminalThemeProfile; windows?: PersistentWindowLayout[]; }; export declare function readPersistentProviderLayout({ cwd, kind, prefix }: { cwd: string; kind: string; prefix: string; }): PersistentProviderLayout | undefined; export declare function writePersistentProviderLayout({ cwd, kind, layout, prefix }: { cwd: string; kind: string; layout: PersistentProviderLayout; prefix: string; }): void;