/******************************************************************************* * Copyright (c) 2026 Maxprograms. * * This program and the accompanying materials * are made available under the terms of the Eclipse License 1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/epl-v10.html * * Contributors: * Maxprograms - initial API and implementation *******************************************************************************/ import { XliffDocument } from "typesxliff"; import type { BatchPrompt, BatchResult } from "./batching/BatchTypes.js"; import type { AIEngine } from "./engines/AIEngine.js"; export declare class XliffAI { private batchSize; private contextOverlap; private promptTemplate; getBatchSize(): number; setBatchSize(batchSize: number): void; getContextOverlap(): number; setContextOverlap(contextOverlap: number): void; getPromptTemplate(): string; setPromptTemplate(promptTemplate: string): void; parseXliff(inputFile: string): XliffDocument; generatePrompts(inputFile: string): BatchPrompt[]; translateBatches(inputFile: string, engine: AIEngine): Promise; translateFile(inputFile: string, outputFile: string, engine: AIEngine): Promise; private buildPrompts; }