import type { RefObject } from 'react';
import type { ToastItem } from '../types/toast';
interface UseToastLogicOptions {
    toast: ToastItem;
    onDismiss: (id: string) => void;
    stackIndex: number;
}
interface UseToastLogicReturn {
    wrapperRef: RefObject<HTMLDivElement | null>;
    hasDetails: boolean;
    dismissToast: () => void;
    handleMouseEnter: () => void;
    handleMouseLeave: () => void;
    ariaRole: 'alert' | 'status';
    ariaLive: 'assertive' | 'polite';
}
export declare function useToastLogic({ toast, onDismiss, stackIndex, }: UseToastLogicOptions): UseToastLogicReturn;
export {};
