import type { ResumeTarget } from "../ui-core/bootstrap/session-resume.js"; import { type RuntimeAuthFrame, type RuntimeMetadata } from "./types.js"; export declare function terminalRestoreSequence(altScreenActive: boolean): string; export interface DurableInteractiveOptions { readonly entryPath: string; readonly childArgs: readonly string[]; readonly resume?: ResumeTarget | undefined; readonly noHistory?: boolean | undefined; } export declare function runtimeClientAuthFrame(metadata: Pick, role: "client-control" | "client-terminal", clientId: string, dimensions?: { readonly columns: number; readonly rows: number; } | undefined): RuntimeAuthFrame; export declare function tryRunDurableInteractive(options: DurableInteractiveOptions): Promise;