// Generated by alef. Do not edit by hand.
@file:Suppress(
    "ktlint:standard:trailing-comma-on-call-site",
    "ktlint:standard:trailing-comma-on-declaration-site",
    "ktlint:standard:spacing-between-declarations-with-comments",
    "ktlint:standard:spacing-between-declarations-with-annotations",
    "ktlint:standard:when-entry-bracing",
    "ktlint:standard:blank-line-between-when-conditions",
    "ktlint:standard:blank-line-before-declaration",
    "ktlint:standard:chain-method-continuation",
    "ktlint:standard:annotation",
    "ktlint:standard:max-line-length",
    "ktlint:standard:no-semi",
    "ktlint:standard:statement-wrapping",
    "MaxLineLength",
    "TooManyFunctions",
    "FunctionParameterNaming",
    "LongParameterList",
    "CyclomaticComplexMethod",
    "LongMethod",
)

package dev.kreuzberg

/**
 * Table detected via OCR.
 *
 * Represents a table structure recognized during OCR processing.
 */
data class OcrTable(
    /** Table cells as a 2D vector (rows × columns) */
    val cells: List<List<String>> = emptyList(),
    /** Markdown representation of the table */
    val markdown: String,
    /** Page number where the table was found (1-indexed) */
    val pageNumber: Int,
    /** Bounding box of the table in pixel coordinates (from OCR word positions). */
    val boundingBox: OcrTableBoundingBox? = null,
)
