UNPKG

i18n-ai-translate

Version:

AI-powered localization CLI, Node library, and GitHub Action. Translate i18next JSON, Gettext PO, Java .properties, and iOS .strings with ChatGPT, Claude, Gemini, or local Ollama models.

16 lines (15 loc) 634 B
import type { ModelArgs } from "./types"; import type OverridePrompt from "./interfaces/override_prompt"; /** * Processes the command line arguments to extract model parameters. * @param options - The command line options object. * @returns an object containing the model parameters. * */ export declare function processModelArgs(options: any): ModelArgs; /** * Processes the override prompt file. * @param overridePromptFilePath - The path to the override prompt file. * @returns an object containing the override prompt. */ export declare function processOverridePromptFile(overridePromptFilePath: string): OverridePrompt;