import type { ToastItem } from "../../ui-core/controllers/toast-controller.js"; import type { InkTheme } from "../render/ink-theme.js"; export declare function toastRowsWanted(toasts: readonly ToastItem[], columns: number): number; export interface ToastViewInput { readonly ink: InkTheme; readonly columns: number; readonly allocatedRows: number; readonly toasts: readonly ToastItem[]; } export declare function visibleToasts(toasts: readonly ToastItem[], allocatedRows: number): readonly ToastItem[]; /** * One centered pill per toast — wraps big messages instead of truncating with … * Each toast may occupy 1-2 rows; total rows are capped by allocatedRows (and MAX_TOAST_ROWS). */ export declare function toastRows(input: ToastViewInput): readonly string[];