import { type ComponentPropsWithoutRef, type ReactNode } from 'react'; import type { NotificationAction, NotificationColor, NotificationLinkTarget } from './Notification'; interface FullWidthNotificationProps extends Omit, 'title'> { /** * 알림 제목 텍스트 */ title: ReactNode; /** * 알림 본문 텍스트 (선택사항) */ supportingText?: ReactNode; /** * 알림 색상 스타일 (neutral, error, warning, success, info) * @default 'neutral' */ color?: NotificationColor; /** * 닫기 버튼 클릭 이벤트 핸들러 */ onClose?: () => void; /** * 닫기 버튼 숨김 여부 * @default false */ hideCloseButton?: boolean; /** * 추가 CSS 클래스 */ className?: string; /** * 버튼 영역 (선택사항) */ actions?: NotificationAction[]; /** * 자동 닫기 시간 (밀리초 단위, 0이면 자동으로 닫히지 않음) * full-width 타입에서는 일반적으로 사용하지 않음 (중요한 공지사항이므로) * @default 0 */ autoClose?: number; /** * info 링크 영역 (선택사항). http/https(상대경로 포함) URL만 링크로 렌더하고 그 외는 텍스트로 렌더한다. */ supportTextLink?: string; /** * 텍스트 링크를 여는 대상 (선택사항). `'_blank'`이면 새 탭 + `rel="noopener noreferrer"` * @default '_self' */ supportTextLinkTarget?: NotificationLinkTarget; /** * 다시보지 않기 이벤트 핸들러 (선택사항) */ onHidePermanently?: () => void; /** * 다시보지 않기 버튼의 라벨 (선택사항) * `onHidePermanently`를 지정했을 때만 렌더된다. * @default '다시보지 않기' */ hidePermanentlyLabel?: ReactNode; } declare const FullWidthNotification: import("react").ForwardRefExoticComponent>; export type { FullWidthNotificationProps }; export { FullWidthNotification };