import React from 'react'; type Props = { type?: 'action' | 'message'; state?: 'default' | 'success' | 'warning'; text: string; buttonLabel?: string; onPressButton?: () => void; }; /** * # Toast 컴포넌트 * * * ## Props * * ### `type` optional * - 'message', 'action' * - 'action' 타입이면 `buttonLabel`, `onPressButton` prop 전달 필수 * * ### `state` optional * - 'default', 'success', 'warning' * - 'action' 타입이면 state 지정 불가 (default 고정) * * ### `text` * - 토스트 메시지 내용 * * ### `buttonLabel` * - 버튼 텍스트 * * ### `onPressButton` * - 버튼 클릭 시 실행할 함수 * * * @deprecated 이 컴포넌트는 단독으로 사용하지 않습니다. `ToastManageView` 컴포넌트를 통해 사용됩니다. * * * @example * ```tsx * // 메시지만 표시 (type, state prop 생략 가능) * * * // 성공 아이콘 표시 * * * // 버튼이 있는 토스트 * * ``` */ export declare function Toast(props: Props): React.JSX.Element; export {};