import type { RenderModel } from "./render-model.js"; import { type SessionsTheme } from "./theme.js"; export declare function renderSessions(model: RenderModel, theme?: SessionsTheme): string[]; export interface FormField { key: string; label: string; value: string; cursor?: number; hint?: string; error?: string; section?: string; truncate?: "end" | "start"; readonly?: boolean; } export interface FormSpec { title: string; fields: FormField[]; focus: string; footer: string; narrowFooter?: string; } export declare function renderForm(spec: FormSpec, width: number, theme?: SessionsTheme): string[]; export declare function renderDialog(title: string, rows: string[], width: number, theme?: SessionsTheme): string[]; export declare function truncate(value: string, width: number): string;