/** * prop type helpers * help us to write less code and reduce bundle size */ declare const unknownProp: null; declare const numericProp: (NumberConstructor | StringConstructor)[]; declare const truthProp: { type: BooleanConstructor; default: boolean; }; declare const makeRequiredProp: (type: T) => { type: T; required: boolean; }; declare const makeArrayProp: () => { type: ArrayConstructor; default: () => never[]; }; declare const makeNumberProp: (defaultVal: number) => { type: NumberConstructor; default: number; }; declare const makeNumericProp: (defaultVal: number | string) => { type: (NumberConstructor | StringConstructor)[]; default: string | number; }; declare const makeStringProp: (defaultVal: string) => { type: StringConstructor; default: string; }; export { makeArrayProp, makeNumberProp, makeNumericProp, makeRequiredProp, makeStringProp, numericProp, truthProp, unknownProp, };