/** * Type guard that narrows a `SchemaObject` to the variants whose `type` is * either `'number'` or `'integer'`. * * Numeric schemas share the same validation keywords (`multipleOf`, * `minimum`, `maximum`, `exclusiveMinimum`, `exclusiveMaximum`), so a single * guard is often more convenient than checking both types separately. * * Works with `SchemaObject` types from OpenAPI 2.0, 3.0, 3.1, and 3.2. */ export declare const isNumericSchema: (schema: T) => schema is [Extract] extends [never] ? T & { type: "number" | "integer"; } : Extract; //# sourceMappingURL=is-numeric-schema.d.ts.map