import React from 'react';
import { TxProps } from '../../utils/types';
/**
* Runtime translation component that renders its children in the user's given locale.
*
* @example
* ```jsx
* // Basic usage:
*
* Hello, {name}!
*
* ```
*
* @example
* ```jsx
* // With a context:
*
* Hello, {name}!
*
* ```
*
* @param {string} [context] - A context for the translation.
* @param {string} [locale] - The locale to use for the translation.
* @returns {Promise} The translated content.
*/
export declare function Tx({ locale, ...props }: TxProps): Promise;
export declare namespace Tx {
var _gtt: string;
}
//# sourceMappingURL=_Tx.d.ts.map