/** * Custom hook for accessing translations in Funkit components * Wrapper around react-i18next's useTranslation hook, explicitly bound to * funkit's private i18next instance — never the host app's React context or * getI18n() global (react-i18next resolves props.i18n > context > global) * * @example * ```tsx * function MyComponent() { * const { t } = useFunkitTranslation() * return * } * ``` * * @example With interpolation * ```tsx * function MyComponent() { * const { t } = useFunkitTranslation() * return
{t('checkout.minAmount', { amount: '10 USDC' })}
* } * ``` */ export declare function useFunkitTranslation(): import("react-i18next").UseTranslationResponse<"translation", undefined>; /** * For lookup tables that must keep every `t()` key literal: store a * `(t: Translate) => string` per entry instead of a bare key string. */ export type Translate = ReturnType['t'];