UNPKG

xcom2charpool

Version:

Library for reading, manipulating, and managing XCOM 2 character pool binary files, supporting both browser and Node.js environments.

7 lines (6 loc) 351 B
import z from 'zod/v4'; import { StructPropertyValue } from './StructPropertyValue'; export type StructOf<T extends z.ZodType> = StructPropertyValue & { value: z.output<T>; }; export declare const StructSchema: <T extends z.ZodType>(type: string, valueSchema: T) => z.ZodType<StructOf<T>, unknown, z.core.$ZodTypeInternals<StructOf<T>, unknown>>;