/** True when a JSON Schema node describes an object (explicit `type` or `properties`). */ export declare function isJsonSchemaObjectNode(schema: Record): boolean; /** * Flatten a provider-emitted tool ROOT whose top level is a `oneOf`/`anyOf`/`allOf` * combinator into one `type: "object"` schema: merge object-branch properties, * derive the discriminant (`action`) enum, keep the common required set, and demote * leftover combinators plus per-branch guidance into the description. Nested * combinators (inside individual properties) are left untouched. * * Idempotent: a root that already lacks top-level combinators is returned unchanged. */ export declare function flattenToolRootCombinators(schema: Record): Record;