/** * Type guard that narrows a `SchemaObject` to the variant whose `type` is an * array of primitive types (e.g. `type: ['string', 'null']`). * * Multi-type schemas were introduced in OpenAPI 3.1 (JSON Schema 2020-12). * In OpenAPI 3.0, `type` is always a single string. * * Works with `SchemaObject` types from OpenAPI 3.1 and 3.2. */ export declare const isMultiTypeSchema: (schema: T) => schema is [Extract] extends [never] ? T & { type: string[]; } : Extract; //# sourceMappingURL=is-multi-type-schema.d.ts.map