Interface ITranslationProviderConfig

Configuration descriptor for a translation provider.

interface ITranslationProviderConfig {
    id: string;
    params?: Record<string, unknown>;
    costTier?: "low" | "high" | "medium";
    priority?: number;
    maxCharsPerRequest?: number;
    supportedLanguages?: string[];
}

Properties

id: string
params?: Record<string, unknown>
costTier?: "low" | "high" | "medium"

Cost tier hint for routing ("low", "medium", "high").

priority?: number

Relative priority for fallback ordering.

maxCharsPerRequest?: number

Maximum characters per request (provider constraint).

supportedLanguages?: string[]

Supported language codes subset; undefined means provider attempts all.