import React from 'react'; import { LayoutStyleProp } from '../../internal/utils/utilTypes'; import { ThrottleOptions } from '../../internal/utils/useThrottledPressHandler'; type Props = { state?: 'information' | 'warning'; } & (WithTitleProps | NoneTitleProps | BulletProps); type WithTitleProps = { variant: 'with_title'; title: string; description: string; onPress?: () => void; } & ThrottleOptions; interface NoneTitleProps { variant: 'none_title'; description: string; } interface BulletProps { variant: 'bullet'; title: string; bulletList: string[]; } /** * # Callout * * ## Props * * ### `state` (optional) * - 'information', 'warning' (기본값 'information') * * * ### `variant` - 'with_title' 전달시 사용 가능한 Props * - `title`: 타이틀 * - `description`: 상세 내용 * - `onPress`: 콜아웃 전체 영역 클릭 시 실행할 함수 * - `throttle`: 클릭 이벤트 쓰로틀링 옵션 (기본 동작: 500ms 쓰로틀) * * * ### `variant` - 'none_title' 전달시 사용 가능한 Props * - `description`: 상세 내용 * * * ### `variant` - 'bullet' 전달시 사용 가능한 Props * - `title`: 타이틀 * - `bulletList`: 각 항목에 표시할 문자열을 배열로 전달합니다. * * * @example * ```tsx * * * * * * * * * * * * ``` */ export declare function Callout({ state, ...props }: Props & LayoutStyleProp): React.JSX.Element; export {};