import { logger } from "../../../logger/index.mjs";
import { AIProvider, translateJSON as translateJSON$1 } from "@intlayer/ai";

//#region src/utils/AI/translateJSON/index.ts
const aiDefaultOptions = {
	provider: AIProvider.OPENAI,
	model: "gpt-5-mini"
};
/**
* TranslateJSONs a content declaration file by constructing a prompt for AI models.
* The prompt includes details about the project's locales, file paths of content declarations,
* and requests for identifying issues or inconsistencies.
*/
const translateJSON = async (options) => {
	const result = await translateJSON$1(options);
	if (result) logger.info(`${result.tokenUsed} tokens used in the request`);
	return result;
};

//#endregion
export { AIProvider, aiDefaultOptions, translateJSON };
//# sourceMappingURL=index.mjs.map