7 lines
		
	
	
		
			305 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			305 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { ZodNativeEnumDef } from 'zod';
 | |
| export type JsonSchema7NativeEnumType = {
 | |
|     type: 'string' | 'number' | ['string', 'number'];
 | |
|     enum: (string | number)[];
 | |
| };
 | |
| export declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType;
 | |
| //# sourceMappingURL=nativeEnum.d.mts.map
 |