import type { LifecycleSnapshot } from "@termfleet/core/internal/session-lifecycle.js"; import type { Bounds, ProviderWindow } from "@termfleet/core/types.js"; export type NativeWindow = { id: number; tty: string; name: string; bounds: Bounds; displayId: string; terminalSize: { columns: number; rows: number; }; }; export declare const nativeTerminalIdPrefix = "native:"; export declare function nativeTerminalId(currentSessionId: string): string; export declare function parseNativeTerminalId(terminalId: string): string | undefined; export type NativeIngestResult = { windows: ProviderWindow[]; windowIdByTerminalId: Map; ttyByTerminalId: Map; }; export declare function projectNativeLifecycleSessionIds(lifecycle: LifecycleSnapshot, sessionIdOverrides: ReadonlyMap): LifecycleSnapshot; export declare function ingestNativeAgentWindows(options: { backend: "iterm" | "native-terminal-app"; lifecycle: LifecycleSnapshot; nativeWindows: NativeWindow[]; sessionIdOverrides?: Map; }): NativeIngestResult; export declare function normalizeTty(tty: string | undefined): string;