import { ShowToastOption } from './ToastManageView'; /** * `ToastManageView` 컴포넌트와 연동하는 용도 */ export declare const ToastManagerConnector: { init: (show: typeof this.showFunc, hideAll: typeof this.hideAllFunc) => void; destroy: () => void; }; /** * 토스트를 표시하거나 숨기는 기능을 제공합니다. */ export declare const ToastManager: { /** * 토스트를 표시합니다. * @param text 표시할 텍스트 * @param option 토스트 옵션 * @param option.state 토스트 상태 * @param option.buttonLabel 버튼 텍스트 * @param option.onPressButton 버튼 클릭 시 실행할 함수 * @param option.offset 토스트의 수직 위치 조정 * @param option.duration 토스트 표시 시간 * @see ShowToastOption * * @example * ```ts * ToastManager.show('토스트 메시지'); * ToastManager.show('토스트 메시지', { state: 'success', duration: 10000 }); * ToastManager.show('토스트 메시지', { buttonLabel: '확인', onPressButton: handler, offset: 60 }); * ``` */ show: (text: string, option?: ShowToastOption) => void; /** * 모든 토스트를 닫습니다. */ hideAll: () => void; };