i18n-ai-translate
Version:
Use LLMs to translate your i18n JSON to any language.
16 lines (15 loc) • 634 B
TypeScript
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;