/** * The playground renders forms from JSON Schema, but `onMessage()` and * endpoint `body`/`query` accept any Standard Schema validator. Ask the * library to describe itself through the Standard JSON Schema interface, * falling back to the vendor's own converter for versions that predate it. */ /** * Best-effort JSON Schema for a Standard Schema validator. * * Returns `null` when the validator can't describe itself — the UI falls back * to a free-form editor. Never throws: a validator the playground can't * introspect must not block a room join. */ export declare function toJSONSchema(schema: any): Promise;