/**
 * i18n — Lightweight translation context for @nice2dev/ui-graphics.
 *
 * Drop-in replacement for react-i18next's useTranslation, requires NO
 * external dependencies. Consumers can optionally wrap with NiceI18nProvider
 * to supply their own translation function. Falls back to the default
 * (English key strings) when no provider is present.
 *
 * Usage in components:
 *   const { t } = useNiceTranslation();
 *   <button>{t('actions.save', 'Save')}</button>
 *
 * Usage in apps:
 *   <NiceI18nProvider t={(key, fallback) => myI18n(key) ?? fallback}>
 *     <App />
 *   </NiceI18nProvider>
 */
import React from 'react';
export type NiceTranslateFn = (key: string, defaultValue: string) => string;
export interface NiceI18nProviderProps {
    t: NiceTranslateFn;
    children: React.ReactNode;
}
export declare const NiceI18nProvider: React.FC<NiceI18nProviderProps>;
export declare function useNiceTranslation(): {
    t: NiceTranslateFn;
};
