/// One chunk of a translation, with the separator that followed it in the source. public struct TextChunk: Sendable, Equatable { /// The zero-based chunk index. public let index: Int /// The chunk text. public let text: String /// The source separator after this chunk (`"\n\n"`, `" "` or `""`). public let separatorAfter: String /// Creates a chunk. public init(index: Int, text: String, separatorAfter: String) { self.index = index self.text = text self.separatorAfter = separatorAfter } }