export declare function useTranslation(text: string, targetLanguage: string, apiKey: string): { error: string | null; from: string | null; isTranslating: boolean; translation: string; translate: () => Promise; };