/******************************************************************************* * 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 type { XliffDocument } from "typesxliff"; import type { Batch } from "./BatchTypes.js"; export interface SegmentBatcherOptions { batchSize?: number; contextOverlap?: number; } export declare class SegmentBatcher { private constructor(); static build(document: XliffDocument, options?: SegmentBatcherOptions): Batch[]; private static addContextOverlap; private static toContextSegment; private static planUnits; private static collectUnits; private static planUnit; private static groupMatchesBySegment; private static resolveMatchSegmentId; private static dedupeMatches; private static packUnits; }