2025-11-21 15:33:03 +08:00
|
|
|
import { ZodNativeEnumDef } from 'zod/v3';
|
2025-09-15 10:04:47 +08:00
|
|
|
export type JsonSchema7NativeEnumType = {
|
|
|
|
|
type: 'string' | 'number' | ['string', 'number'];
|
|
|
|
|
enum: (string | number)[];
|
|
|
|
|
};
|
|
|
|
|
export declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType;
|
|
|
|
|
//# sourceMappingURL=nativeEnum.d.ts.map
|