import { WeblateClient } from '../client/WeblateClient';
import { WeblateUnit, TranslationHookResult, WeblateError } from '../types';
interface UseTranslationOptions {
    componentSlug: string;
    languageCode: string;
    client: WeblateClient;
}
export declare function useTranslation({ componentSlug, languageCode, client, }: UseTranslationOptions): TranslationHookResult;
export declare function useT(key: string, defaultValue?: string, options?: {
    componentSlug: string;
    languageCode: string;
    client: WeblateClient;
}): string;
export declare function useUpdateTranslation(client: WeblateClient): {
    updateTranslation: (unitId: string, target: string) => Promise<WeblateUnit>;
    isUpdating: boolean;
    error: WeblateError | null;
};
export {};
