import { HTMLAttributes, ReactNode } from 'react';
export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
    /** The notification message. Keep it short — one sentence. */
    title: ReactNode;
    /**
     * Auto-dismiss timeout in milliseconds.
     * - Set to `0` to disable auto-dismiss (user must click action or dismiss).
     * - Defaults to `3000`.
     */
    duration?: number;
    /** Called when the toast should be removed — after timeout or user action. */
    onDismiss?: () => void;
    /** Label for the optional action button. */
    actionLabel?: string;
    /** Called when the user clicks the action button. */
    onAction?: () => void;
    /** Whether to show a manual dismiss (×) button. */
    dismissible?: boolean;
}
/**
 * Non-blocking temporary notification following the Adwaita `AdwToast` pattern.
 *
 * - Auto-dismisses after `duration` ms (default 3 s). Set `duration={0}` to disable.
 * - Timer pauses while the toast is hovered or focused.
 * - Use inside `<Toaster>` for correct positioning and stacking.
 *
 * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Toast.html
 */
export declare function Toast({ title, duration, onDismiss, actionLabel, onAction, dismissible, className, ...props }: ToastProps): import("react/jsx-runtime").JSX.Element;
