Read-only getter for the underlying SWML document object. Provides direct
access to the mutable document (the returned reference is the internal object,
not a copy). Equivalent to the Python SDK’s service property on SWMLBuilder.
Prefer getDocument() when you want an explicit method
call for symmetry with other accessors. The document getter exists for
callers that want property-style access.
{ version: string; sections: Record<string, unknown[]> }