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

/** Configuration for email extraction. */
data class EmailConfig(
    /**
     * Windows codepage number to use when an MSG file contains no codepage property.
     * Defaults to `null`, which falls back to windows-1252.
     *
     * If an unrecognized or invalid codepage number is supplied (including 0),
     * the behavior silently falls back to windows-1252 — the same as when the
     * MSG file itself contains an unrecognized codepage. No error or warning is
     * emitted. Users should verify output when supplying unusual values.
     *
     * Common values:
     *
     * - 1250: Central European (Polish, Czech, Hungarian, etc.)
     * - 1251: Cyrillic (Russian, Ukrainian, Bulgarian, etc.)
     * - 1252: Western European (default)
     * - 1253: Greek
     * - 1254: Turkish
     * - 1255: Hebrew
     * - 1256: Arabic
     * - 932:  Japanese (Shift-JIS)
     * - 936:  Simplified Chinese (GBK)
     */
    val msgFallbackCodepage: Int? = null,
)
