import type { LegacyNotificationHierarchy, NotificationAction, NotificationActionButtonSize, NotificationColor, NotificationHierarchy } from './const'; export declare function createWrapperElement(baseClass: string, color: NotificationColor, className?: string): HTMLElement; export declare function buildClassName(baseClass: string, color: NotificationColor, className?: string): string; interface RenderSupportingTextParams { supportingText?: string; className?: string; supportTextLink?: string; } /** * 보조 텍스트 HTML을 만든다. `supportTextLink` 링크는 full-width 전용 클래스(`CLASS_NAMES.FULL_WIDTH.LINK`)로 렌더한다. */ export declare const renderSupportingText: ({ supportingText, className, supportTextLink, }: RenderSupportingTextParams) => string; /** * `supportTextLinkTarget`이 `'_blank'`이면 `renderSupportingText`가 만든 링크를 새 탭으로 연다. * * target 은 sanitize **이후** 우리가 만든 링크(텍스트 컨테이너의 직계 ``)에만 지정한다. * DOMPurify 에 target 을 전역 허용하면 사용자 입력 HTML 의 ``까지 rel 없이 통과하기 때문이다. * 런타임 입력이므로 `'_blank'`가 아닌 값은 전부 `'_self'`(속성 미부여)로 취급한다. */ export declare function applySupportTextLinkTarget(root: HTMLElement, textContainerClassName: string, linkClassName: string, target: unknown): void; /** * 액션 버튼의 색상 수식자를 현행 어휘로 정규화한다. * * 구 어휘(`'link'` / `'link-gray'`)는 Link 컴포넌트의 색상 이름을 빌려 쓴 것이라 * `ncua-btn--link`에 대응하는 CSS가 존재하지 않았다. 기존 CDN 사용처를 깨지 않기 위해 * 타입에서 제거하는 대신 이 지점에서 실제 Button 테마로 매핑한다. * * 렌더(`renderActions`)와 이벤트 바인딩(`bindNotificationEvents`)이 이 함수를 함께 써야 * `data-action` 키가 어긋나지 않는다. */ export declare function resolveActionHierarchy(hierarchy?: NotificationHierarchy | LegacyNotificationHierarchy): NotificationHierarchy; /** * 액션 버튼 그룹 HTML을 만든다. * * `size` 기본값 'xs'는 디자인 기준(#535 — 모든 type 액션 버튼 xs)이며 React `