// 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

/**
 * Output format for extraction results.
 *
 * Controls the format of the `content` field in `ExtractionResult`.
 * When set to `Markdown`, `Djot`, or `Html`, the output uses that format.
 * `Plain` returns the raw extracted text.
 * `Structured` returns JSON with full OCR element data including bounding
 * boxes and confidence scores.
 */
sealed class OutputFormat {
    /** Plain text content only (default) */
    object Plain : OutputFormat()
    /** Markdown format */
    object Markdown : OutputFormat()
    /** Djot markup format */
    object Djot : OutputFormat()
    /** HTML format */
    object Html : OutputFormat()
    /** JSON tree format with heading-driven sections. */
    object Json : OutputFormat()
    /** Structured JSON format with full OCR element metadata. */
    object Structured : OutputFormat()
    /**
     * Custom renderer registered via the RendererRegistry.
     * The string is the renderer name (e.g., "docx", "latex").
     */
    data class Custom(val value: String) : OutputFormat()
}
