import { type ComponentPropsWithoutRef, type ReactNode } from 'react'; import type { SlotIconComponent } from '../../../types/side-slot'; import type { NotificationAction, NotificationColor } from './Notification'; interface MessageNotificationProps extends Omit, 'title'> { /** * 알림 제목 텍스트 */ title: ReactNode; /** * 알림 본문 텍스트 (선택사항) */ supportingText?: ReactNode; /** * 알림 아이콘 컴포넌트 (지정하지 않으면 color에 따라 기본 아이콘 사용) */ icon?: SlotIconComponent; /** * 알림 색상 스타일 * @default 'neutral' */ color?: NotificationColor; /** * 닫기 버튼 클릭 이벤트 핸들러 */ onClose?: () => void; /** * 닫기 버튼 숨김 여부 * @default false */ hideCloseButton?: boolean; /** * 자동 닫기 시간 (밀리초 단위, 0이면 자동으로 닫히지 않음) * @default 0 */ autoClose?: number; /** * 추가 CSS 클래스 */ className?: string; /** * 액션 버튼 영역 (선택사항) */ actions?: NotificationAction[]; /** * 다시보지 않기 이벤트 핸들러 (선택사항) */ onHidePermanently?: () => void; /** * 다시보지 않기 버튼의 라벨 (선택사항) * `onHidePermanently`를 지정했을 때만 렌더된다. * @default '다시 보지 않기' */ hidePermanentlyLabel?: ReactNode; } declare const MessageNotification: import("react").ForwardRefExoticComponent>; export type { MessageNotificationProps }; export { MessageNotification };