import { UseTranslationReturns } from './type'; /** * useTranslation에서 리턴된 번역 함수(t)를 사용해 번역 텍스트 값을 얻을 수 있는 hook * TranslationProvider 내에서만 호출되어야 함 * * @returns {UseTranslationReturns} 번역 함수(t), 현재 언어(language), 언어 변경 함수(changeLanguage)를 포함하는 객체 * @throws {Error} `useTranslation`이 `TranslationProvider` 외부에서 호출되는 경우 오류가 발생 */ declare const useTranslation: () => UseTranslationReturns; export default useTranslation;