///|
/// The `lenitain/kdl` module — a KDL document language library for MoonBit.
///
/// This root package holds the core data model and serialization:
///
/// - `KdlDocument`, `KdlNode`, `KdlEntry`, `KdlValue` — the document tree
/// - `KdlIdentifier` — node / property / type-annotation names
/// - `KdlError`, `KdlDiagnostic`, `KdlSeverity` — diagnostics
/// - `to_kdl_string` / `to_kdl_string_formatted` — serialization
///
/// `KdlNode` also provides accessors (`get_arg`, `get_prop`, `get_child`,
/// `children_by`, `name_str`, `arg_count`) that make it easy to walk the tree
/// by hand or to write custom decoders.
///
/// Parsing, querying, schema validation and decoding live in sibling
/// subpackages, each importing this root package (so the root cannot
/// re-export them):
///
/// - `lenitain/kdl/parser` — `parse`, `parse_v1`, `parse_v2`, `detect_version`
/// - `lenitain/kdl/query`  — `query`
/// - `lenitain/kdl/schema` — `parse_schema`, `validate`
/// - `lenitain/kdl/decode` — `Decode` trait + `decode` (KDL → structs)
/// - `lenitain/kdl/full`   — one-shot unified entry point that re-exports
///   the whole API surface via `pub using`; import just this one package.
///
/// Note: `to_kdl_string` / `to_kdl_string_formatted` are *serializers* — they
/// rebuild text from the data model and do **not** preserve comments or the
/// original formatting. Do not use them to "format" an existing KDL file; you
/// will lose comments.