/**
 * Toast Core - Core notification functions
 * Uses OpenCode TUI's showToast API for actual UI display
 */
import type { ToastMessage, ToastOptions } from "./types.js";
import type { PluginInput } from "@opencode-ai/plugin";
type OpencodeClient = PluginInput["client"];
/**
 * Initialize the toast system with the OpenCode client
 */
export declare function initToastClient(client: OpencodeClient): void;
/**
 * Register a notification handler
 */
export declare function onToast(handler: (toast: ToastMessage) => void): () => void;
/**
 * Show a toast notification (both in TUI and internal storage)
 */
export declare function show(options: ToastOptions): ToastMessage;
/**
 * Dismiss a toast
 */
export declare function dismiss(toastId: string): void;
/**
 * Get active (non-dismissed) toasts
 */
export declare function getActive(): ToastMessage[];
/**
 * Get toast history
 */
export declare function getHistory(limit?: number): ToastMessage[];
/**
 * Clear all toasts
 */
export declare function clear(): void;
export {};
