import type React from 'react'; import { type PropsWithChildren } from 'react'; import { type AutoCloseTime, type Position, AUTO_CLOSE_TIMES, POSITIONS } from './config'; export interface AtomToastProps { /** Enable/disable auto close */ autoClose?: boolean; /** Auto close times: 'short' (3000s), 'medium' (6000s), 'long' (9000s) */ autoCloseTime?: AutoCloseTime; /** Enable/disable toast transition */ effect?: boolean; /** Custom close icon */ iconClose?: React.ReactNode; /** On close callback */ onClose?: () => void; /** Positions: 'top-left', 'top', 'top-right', 'bottom-left', 'bottom', 'bottom-right' */ position?: Position; show?: boolean; /** Enable/disable global close */ globalClose?: boolean; } declare const AtomToast: { ({ autoClose, autoCloseTime, effect, iconClose, onClose, position, show: showFromProps, globalClose, children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; export { POSITIONS as atomToastPositions, AUTO_CLOSE_TIMES as atomToastAutoCloseTimes }; export default AtomToast;