/** @jsxImportSource @opentui/react */ /** * Notification toasts — top-center, slide in / hold / slide out. * * Solid message-chip style (no border): intro "AGENT MODE" plate (`theme.mode`) * with white bold text. Long messages wrap within the terminal; never spill * past the screen edge. */ import { type ReactNode } from "react"; import type { ToastController, ToastLevel } from "../../../ui-core/controllers/toast-controller.js"; import type { Theme } from "../../../ui-core/rendering/theme.js"; export interface ToastHostProps { readonly toast: ToastController; readonly theme: Theme; readonly termWidth: number; readonly termHeight: number; } /** * Word-wrap toast body to `innerWidth` columns (no side pads). * First line includes the level glyph; later lines are indented to match. */ export declare function wrapToastBody(level: ToastLevel, message: string, innerWidth: number): string[]; /** Pad each body line to full chip width with H_PAD on both sides. */ export declare function padToastLines(bodyLines: string[], chipWidth: number): string[]; export declare function ToastHost(props: ToastHostProps): ReactNode;