typia 8.0.3 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/lib/AssertionGuard.d.mts +1 -0
  2. package/lib/CamelCase.d.mts +26 -0
  3. package/lib/IRandomGenerator.d.mts +40 -0
  4. package/lib/IReadableURLSearchParams.d.mts +9 -0
  5. package/lib/IValidation.d.mts +1 -0
  6. package/lib/PascalCase.d.mts +25 -0
  7. package/lib/Primitive.d.mts +49 -0
  8. package/lib/Resolved.d.mts +39 -0
  9. package/lib/SnakeCase.d.mts +31 -0
  10. package/lib/TypeGuardError.d.mts +17 -0
  11. package/lib/executable/TypiaGenerateWizard.d.mts +8 -0
  12. package/lib/executable/TypiaPatchWizard.d.mts +4 -0
  13. package/lib/executable/TypiaSetupWizard.d.mts +7 -0
  14. package/lib/executable/setup/ArgumentParser.d.mts +7 -0
  15. package/lib/executable/setup/CommandExecutor.d.mts +3 -0
  16. package/lib/executable/setup/FileRetriever.d.mts +7 -0
  17. package/lib/executable/setup/PackageManager.d.mts +24 -0
  18. package/lib/executable/setup/PluginConfigurator.d.mts +4 -0
  19. package/lib/executable/typia.d.mts +4 -0
  20. package/lib/factories/CommentFactory.d.mts +5 -0
  21. package/lib/factories/ExpressionFactory.d.mts +29 -0
  22. package/lib/factories/IdentifierFactory.d.mts +8 -0
  23. package/lib/factories/JsonMetadataFactory.d.mts +19 -0
  24. package/lib/factories/LiteralFactory.d.mts +4 -0
  25. package/lib/factories/MetadataCollection.d.mts +40 -0
  26. package/lib/factories/MetadataCommentTagFactory.d.mts +1 -0
  27. package/lib/factories/MetadataFactory.d.mts +48 -0
  28. package/lib/factories/MetadataTypeTagFactory.d.mts +20 -0
  29. package/lib/factories/MetadataTypeTagSchemaFactory.d.mts +7 -0
  30. package/lib/factories/NumericRangeFactory.d.mts +6 -0
  31. package/lib/factories/ProtobufFactory.d.mts +13 -0
  32. package/lib/factories/StatementFactory.d.mts +19 -0
  33. package/lib/factories/TemplateFactory.d.mts +4 -0
  34. package/lib/factories/TypeFactory.d.mts +16 -0
  35. package/lib/factories/ValueFactory.d.mts +8 -0
  36. package/lib/factories/internal/metadata/IMetadataIteratorProps.d.mts +14 -0
  37. package/lib/factories/internal/metadata/MetadataHelper.d.mts +4 -0
  38. package/lib/factories/internal/metadata/emend_metadata_atomics.d.mts +2 -0
  39. package/lib/factories/internal/metadata/emplace_metadata_alias.d.mts +3 -0
  40. package/lib/factories/internal/metadata/emplace_metadata_array_type.d.mts +8 -0
  41. package/lib/factories/internal/metadata/emplace_metadata_object.d.mts +3 -0
  42. package/lib/factories/internal/metadata/emplace_metadata_tuple.d.mts +4 -0
  43. package/lib/factories/internal/metadata/explore_metadata.d.mts +8 -0
  44. package/lib/factories/internal/metadata/iterate_metadata.d.mts +2 -0
  45. package/lib/factories/internal/metadata/iterate_metadata_alias.d.mts +2 -0
  46. package/lib/factories/internal/metadata/iterate_metadata_array.d.mts +2 -0
  47. package/lib/factories/internal/metadata/iterate_metadata_atomic.d.mts +6 -0
  48. package/lib/factories/internal/metadata/iterate_metadata_coalesce.d.mts +6 -0
  49. package/lib/factories/internal/metadata/iterate_metadata_collection.d.mts +6 -0
  50. package/lib/factories/internal/metadata/iterate_metadata_comment_tags.d.mts +6 -0
  51. package/lib/factories/internal/metadata/iterate_metadata_constant.d.mts +2 -0
  52. package/lib/factories/internal/metadata/iterate_metadata_escape.d.mts +2 -0
  53. package/lib/factories/internal/metadata/iterate_metadata_function.d.mts +2 -0
  54. package/lib/factories/internal/metadata/iterate_metadata_intersection.d.mts +2 -0
  55. package/lib/factories/internal/metadata/iterate_metadata_map.d.mts +2 -0
  56. package/lib/factories/internal/metadata/iterate_metadata_native.d.mts +2 -0
  57. package/lib/factories/internal/metadata/iterate_metadata_object.d.mts +2 -0
  58. package/lib/factories/internal/metadata/iterate_metadata_set.d.mts +2 -0
  59. package/lib/factories/internal/metadata/iterate_metadata_sort.d.mts +6 -0
  60. package/lib/factories/internal/metadata/iterate_metadata_template.d.mts +2 -0
  61. package/lib/factories/internal/metadata/iterate_metadata_tuple.d.mts +3 -0
  62. package/lib/factories/internal/metadata/iterate_metadata_union.d.mts +2 -0
  63. package/lib/functional.d.mts +490 -0
  64. package/lib/http.d.mts +717 -0
  65. package/lib/index.d.mts +3 -0
  66. package/lib/internal/_IProtobufWriter.d.mts +15 -0
  67. package/lib/internal/_ProtobufReader.d.mts +35 -0
  68. package/lib/internal/_ProtobufSizer.d.mts +36 -0
  69. package/lib/internal/_ProtobufWriter.d.mts +45 -0
  70. package/lib/internal/_accessExpressionAsString.d.mts +1 -0
  71. package/lib/internal/_assertGuard.d.mts +2 -0
  72. package/lib/internal/_functionalTypeGuardErrorFactory.d.mts +2 -0
  73. package/lib/internal/_httpFormDataReadArray.d.mts +1 -0
  74. package/lib/internal/_httpFormDataReadBigint.d.mts +1 -0
  75. package/lib/internal/_httpFormDataReadBlob.d.mts +1 -0
  76. package/lib/internal/_httpFormDataReadBoolean.d.mts +1 -0
  77. package/lib/internal/_httpFormDataReadFile.d.mts +1 -0
  78. package/lib/internal/_httpFormDataReadNumber.d.mts +1 -0
  79. package/lib/internal/_httpFormDataReadString.d.mts +1 -0
  80. package/lib/internal/_httpHeaderReadBigint.d.mts +1 -0
  81. package/lib/internal/_httpHeaderReadBoolean.d.mts +1 -0
  82. package/lib/internal/_httpHeaderReadNumber.d.mts +1 -0
  83. package/lib/internal/_httpParameterReadBigint.d.mts +1 -0
  84. package/lib/internal/_httpParameterReadBoolean.d.mts +1 -0
  85. package/lib/internal/_httpParameterReadNumber.d.mts +1 -0
  86. package/lib/internal/_httpParameterReadString.d.mts +1 -0
  87. package/lib/internal/_httpQueryParseURLSearchParams.d.mts +2 -0
  88. package/lib/internal/_httpQueryReadArray.d.mts +1 -0
  89. package/lib/internal/_httpQueryReadBigint.d.mts +1 -0
  90. package/lib/internal/_httpQueryReadBoolean.d.mts +1 -0
  91. package/lib/internal/_httpQueryReadNumber.d.mts +1 -0
  92. package/lib/internal/_httpQueryReadString.d.mts +1 -0
  93. package/lib/internal/_isBetween.d.mts +1 -0
  94. package/lib/internal/_isBigintString.d.mts +1 -0
  95. package/lib/internal/_isFormatByte.d.mts +1 -0
  96. package/lib/internal/_isFormatDate.d.mts +1 -0
  97. package/lib/internal/_isFormatDateTime.d.mts +1 -0
  98. package/lib/internal/_isFormatDuration.d.mts +1 -0
  99. package/lib/internal/_isFormatEmail.d.mts +1 -0
  100. package/lib/internal/_isFormatHostname.d.mts +1 -0
  101. package/lib/internal/_isFormatIdnEmail.d.mts +1 -0
  102. package/lib/internal/_isFormatIdnHostname.d.mts +1 -0
  103. package/lib/internal/_isFormatIpv4.d.mts +1 -0
  104. package/lib/internal/_isFormatIpv6.d.mts +1 -0
  105. package/lib/internal/_isFormatIri.d.mts +1 -0
  106. package/lib/internal/_isFormatIriReference.d.mts +1 -0
  107. package/lib/internal/_isFormatJsonPointer.d.mts +1 -0
  108. package/lib/internal/_isFormatPassword.d.mts +1 -0
  109. package/lib/internal/_isFormatRegex.d.mts +1 -0
  110. package/lib/internal/_isFormatRelativeJsonPointer.d.mts +1 -0
  111. package/lib/internal/_isFormatTime.d.mts +1 -0
  112. package/lib/internal/_isFormatUri.d.mts +1 -0
  113. package/lib/internal/_isFormatUriReference.d.mts +1 -0
  114. package/lib/internal/_isFormatUriTemplate.d.mts +1 -0
  115. package/lib/internal/_isFormatUrl.d.mts +1 -0
  116. package/lib/internal/_isFormatUuid.d.mts +1 -0
  117. package/lib/internal/_isTypeFloat.d.mts +1 -0
  118. package/lib/internal/_isTypeInt32.d.mts +1 -0
  119. package/lib/internal/_isTypeInt64.d.mts +1 -0
  120. package/lib/internal/_isTypeUint32.d.mts +1 -0
  121. package/lib/internal/_isTypeUint64.d.mts +1 -0
  122. package/lib/internal/_isUniqueItems.d.mts +1 -0
  123. package/lib/internal/_jsonStringifyNumber.d.mts +1 -0
  124. package/lib/internal/_jsonStringifyRest.d.mts +1 -0
  125. package/lib/internal/_jsonStringifyString.d.mts +13 -0
  126. package/lib/internal/_jsonStringifyTail.d.mts +1 -0
  127. package/lib/internal/_llmApplicationFinalize.d.mts +2 -0
  128. package/lib/internal/_miscCloneAny.d.mts +2 -0
  129. package/lib/internal/_notationAny.d.mts +1 -0
  130. package/lib/internal/_notationCamel.d.mts +1 -0
  131. package/lib/internal/_notationPascal.d.mts +1 -0
  132. package/lib/internal/_notationSnake.d.mts +1 -0
  133. package/lib/internal/_randomArray.d.mts +4 -0
  134. package/lib/internal/_randomBigint.d.mts +2 -0
  135. package/lib/internal/_randomBoolean.d.mts +1 -0
  136. package/lib/internal/_randomFormatByte.d.mts +1 -0
  137. package/lib/internal/_randomFormatDate.d.mts +4 -0
  138. package/lib/internal/_randomFormatDatetime.d.mts +4 -0
  139. package/lib/internal/_randomFormatDuration.d.mts +1 -0
  140. package/lib/internal/_randomFormatEmail.d.mts +1 -0
  141. package/lib/internal/_randomFormatHostname.d.mts +1 -0
  142. package/lib/internal/_randomFormatIdnEmail.d.mts +1 -0
  143. package/lib/internal/_randomFormatIdnHostname.d.mts +1 -0
  144. package/lib/internal/_randomFormatIpv4.d.mts +1 -0
  145. package/lib/internal/_randomFormatIpv6.d.mts +1 -0
  146. package/lib/internal/_randomFormatIri.d.mts +1 -0
  147. package/lib/internal/_randomFormatIriReference.d.mts +1 -0
  148. package/lib/internal/_randomFormatJsonPointer.d.mts +1 -0
  149. package/lib/internal/_randomFormatPassword.d.mts +1 -0
  150. package/lib/internal/_randomFormatRegex.d.mts +1 -0
  151. package/lib/internal/_randomFormatRelativeJsonPointer.d.mts +1 -0
  152. package/lib/internal/_randomFormatTime.d.mts +1 -0
  153. package/lib/internal/_randomFormatUri.d.mts +1 -0
  154. package/lib/internal/_randomFormatUriReference.d.mts +1 -0
  155. package/lib/internal/_randomFormatUriTemplate.d.mts +1 -0
  156. package/lib/internal/_randomFormatUrl.d.mts +1 -0
  157. package/lib/internal/_randomFormatUuid.d.mts +1 -0
  158. package/lib/internal/_randomInteger.d.mts +2 -0
  159. package/lib/internal/_randomNumber.d.mts +2 -0
  160. package/lib/internal/_randomPattern.d.mts +1 -0
  161. package/lib/internal/_randomPick.d.mts +1 -0
  162. package/lib/internal/_randomString.d.mts +2 -0
  163. package/lib/internal/_throwTypeGuardError.d.mts +2 -0
  164. package/lib/internal/_validateReport.d.mts +2 -0
  165. package/lib/internal/private/__notationCapitalize.d.mts +1 -0
  166. package/lib/internal/private/__notationUnsnake.d.mts +4 -0
  167. package/lib/json.d.mts +480 -0
  168. package/lib/llm.d.mts +322 -0
  169. package/lib/misc.d.mts +453 -0
  170. package/lib/module.d.mts +707 -0
  171. package/lib/notations.d.mts +551 -0
  172. package/lib/programmers/AssertProgrammer.d.mts +31 -0
  173. package/lib/programmers/CheckerProgrammer.d.mts +125 -0
  174. package/lib/programmers/FeatureProgrammer.d.mts +249 -0
  175. package/lib/programmers/ImportProgrammer.d.mts +35 -0
  176. package/lib/programmers/IsProgrammer.d.mts +65 -0
  177. package/lib/programmers/RandomProgrammer.d.mts +22 -0
  178. package/lib/programmers/TypiaProgrammer.d.mts +8 -0
  179. package/lib/programmers/ValidateProgrammer.d.mts +22 -0
  180. package/lib/programmers/functional/FunctionalAssertFunctionProgrammer.d.mts +28 -0
  181. package/lib/programmers/functional/FunctionalAssertParametersProgrammer.d.mts +28 -0
  182. package/lib/programmers/functional/FunctionalAssertReturnProgrammer.d.mts +30 -0
  183. package/lib/programmers/functional/FunctionalIsFunctionProgrammer.d.mts +20 -0
  184. package/lib/programmers/functional/FunctionalIsParametersProgrammer.d.mts +27 -0
  185. package/lib/programmers/functional/FunctionalIsReturnProgrammer.d.mts +29 -0
  186. package/lib/programmers/functional/FunctionalValidateFunctionProgrammer.d.mts +25 -0
  187. package/lib/programmers/functional/FunctionalValidateParametersProgrammer.d.mts +27 -0
  188. package/lib/programmers/functional/FunctionalValidateReturnProgrammer.d.mts +29 -0
  189. package/lib/programmers/functional/internal/FunctionalGeneralProgrammer.d.mts +12 -0
  190. package/lib/programmers/helpers/AtomicPredicator.d.mts +14 -0
  191. package/lib/programmers/helpers/CloneJoiner.d.mts +16 -0
  192. package/lib/programmers/helpers/FunctionProgrammer.d.mts +16 -0
  193. package/lib/programmers/helpers/HttpMetadataUtil.d.mts +5 -0
  194. package/lib/programmers/helpers/ICheckEntry.d.mts +12 -0
  195. package/lib/programmers/helpers/IExpressionEntry.d.mts +8 -0
  196. package/lib/programmers/helpers/NotationJoiner.d.mts +17 -0
  197. package/lib/programmers/helpers/OptionPredicator.d.mts +7 -0
  198. package/lib/programmers/helpers/ProtobufUtil.d.mts +14 -0
  199. package/lib/programmers/helpers/ProtobufWire.d.mts +29 -0
  200. package/lib/programmers/helpers/PruneJoiner.d.mts +18 -0
  201. package/lib/programmers/helpers/RandomJoiner.d.mts +23 -0
  202. package/lib/programmers/helpers/StringifyJoinder.d.mts +17 -0
  203. package/lib/programmers/helpers/StringifyPredicator.d.mts +5 -0
  204. package/lib/programmers/helpers/UnionExplorer.d.mts +79 -0
  205. package/lib/programmers/helpers/UnionPredicator.d.mts +11 -0
  206. package/lib/programmers/helpers/disable_function_programmer_declare.d.mts +2 -0
  207. package/lib/programmers/http/HttpAssertFormDataProgrammer.d.mts +15 -0
  208. package/lib/programmers/http/HttpAssertHeadersProgrammer.d.mts +15 -0
  209. package/lib/programmers/http/HttpAssertQueryProgrammer.d.mts +19 -0
  210. package/lib/programmers/http/HttpFormDataProgrammer.d.mts +17 -0
  211. package/lib/programmers/http/HttpHeadersProgrammer.d.mts +18 -0
  212. package/lib/programmers/http/HttpIsFormDataProgrammer.d.mts +14 -0
  213. package/lib/programmers/http/HttpIsHeadersProgrammer.d.mts +14 -0
  214. package/lib/programmers/http/HttpIsQueryProgrammer.d.mts +18 -0
  215. package/lib/programmers/http/HttpParameterProgrammer.d.mts +7 -0
  216. package/lib/programmers/http/HttpQueryProgrammer.d.mts +21 -0
  217. package/lib/programmers/http/HttpValidateFormDataProgrammer.d.mts +15 -0
  218. package/lib/programmers/http/HttpValidateHeadersProgrammer.d.mts +15 -0
  219. package/lib/programmers/http/HttpValidateQueryProgrammer.d.mts +19 -0
  220. package/lib/programmers/internal/check_array_length.d.mts +1 -0
  221. package/lib/programmers/internal/check_bigint.d.mts +1 -0
  222. package/lib/programmers/internal/check_dynamic_key.d.mts +1 -0
  223. package/lib/programmers/internal/check_dynamic_properties.d.mts +1 -0
  224. package/lib/programmers/internal/check_everything.d.mts +1 -0
  225. package/lib/programmers/internal/check_native.d.mts +1 -0
  226. package/lib/programmers/internal/check_number.d.mts +1 -0
  227. package/lib/programmers/internal/check_object.d.mts +1 -0
  228. package/lib/programmers/internal/check_string.d.mts +1 -0
  229. package/lib/programmers/internal/check_template.d.mts +1 -0
  230. package/lib/programmers/internal/check_union_array_like.d.mts +1 -0
  231. package/lib/programmers/internal/decode_union_object.d.mts +1 -0
  232. package/lib/programmers/internal/feature_object_entries.d.mts +1 -0
  233. package/lib/programmers/internal/json_schema_alias.d.mts +7 -0
  234. package/lib/programmers/internal/json_schema_array.d.mts +6 -0
  235. package/lib/programmers/internal/json_schema_bigint.d.mts +3 -0
  236. package/lib/programmers/internal/json_schema_boolean.d.mts +3 -0
  237. package/lib/programmers/internal/json_schema_constant.d.mts +3 -0
  238. package/lib/programmers/internal/json_schema_description.d.mts +5 -0
  239. package/lib/programmers/internal/json_schema_discriminator.d.mts +3 -0
  240. package/lib/programmers/internal/json_schema_escaped.d.mts +1 -0
  241. package/lib/programmers/internal/json_schema_native.d.mts +6 -0
  242. package/lib/programmers/internal/json_schema_number.d.mts +3 -0
  243. package/lib/programmers/internal/json_schema_object.d.mts +1 -0
  244. package/lib/programmers/internal/json_schema_plugin.d.mts +6 -0
  245. package/lib/programmers/internal/json_schema_station.d.mts +8 -0
  246. package/lib/programmers/internal/json_schema_string.d.mts +3 -0
  247. package/lib/programmers/internal/json_schema_template.d.mts +3 -0
  248. package/lib/programmers/internal/json_schema_title.d.mts +5 -0
  249. package/lib/programmers/internal/json_schema_tuple.d.mts +6 -0
  250. package/lib/programmers/internal/metadata_to_pattern.d.mts +1 -0
  251. package/lib/programmers/internal/postfix_of_tuple.d.mts +1 -0
  252. package/lib/programmers/internal/prune_object_properties.d.mts +1 -0
  253. package/lib/programmers/internal/stringify_dynamic_properties.d.mts +1 -0
  254. package/lib/programmers/internal/stringify_native.d.mts +1 -0
  255. package/lib/programmers/internal/stringify_regular_properties.d.mts +1 -0
  256. package/lib/programmers/internal/template_to_pattern.d.mts +1 -0
  257. package/lib/programmers/internal/wrap_metadata_rest_tuple.d.mts +1 -0
  258. package/lib/programmers/json/JsonApplicationProgrammer.d.mts +24 -0
  259. package/lib/programmers/json/JsonAssertParseProgrammer.d.mts +15 -0
  260. package/lib/programmers/json/JsonAssertStringifyProgrammer.d.mts +15 -0
  261. package/lib/programmers/json/JsonIsParseProgrammer.d.mts +14 -0
  262. package/lib/programmers/json/JsonIsStringifyProgrammer.d.mts +14 -0
  263. package/lib/programmers/json/JsonSchemasProgrammer.d.mts +9 -0
  264. package/lib/programmers/json/JsonStringifyProgrammer.d.mts +15 -0
  265. package/lib/programmers/json/JsonValidateParseProgrammer.d.mts +15 -0
  266. package/lib/programmers/json/JsonValidateStringifyProgrammer.d.mts +15 -0
  267. package/lib/programmers/llm/LlmApplicationProgrammer.d.mts +19 -0
  268. package/lib/programmers/llm/LlmModelPredicator.d.mts +16 -0
  269. package/lib/programmers/llm/LlmParametersProgrammer.d.mts +14 -0
  270. package/lib/programmers/llm/LlmSchemaProgrammer.d.mts +18 -0
  271. package/lib/programmers/misc/MiscAssertCloneProgrammer.d.mts +15 -0
  272. package/lib/programmers/misc/MiscAssertPruneProgrammer.d.mts +15 -0
  273. package/lib/programmers/misc/MiscCloneProgrammer.d.mts +15 -0
  274. package/lib/programmers/misc/MiscIsCloneProgrammer.d.mts +14 -0
  275. package/lib/programmers/misc/MiscIsPruneProgrammer.d.mts +14 -0
  276. package/lib/programmers/misc/MiscLiteralsProgrammer.d.mts +9 -0
  277. package/lib/programmers/misc/MiscPruneProgrammer.d.mts +15 -0
  278. package/lib/programmers/misc/MiscValidateCloneProgrammer.d.mts +15 -0
  279. package/lib/programmers/misc/MiscValidatePruneProgrammer.d.mts +15 -0
  280. package/lib/programmers/notations/NotationAssertGeneralProgrammer.d.mts +19 -0
  281. package/lib/programmers/notations/NotationGeneralProgrammer.d.mts +24 -0
  282. package/lib/programmers/notations/NotationIsGeneralProgrammer.d.mts +18 -0
  283. package/lib/programmers/notations/NotationValidateGeneralProgrammer.d.mts +19 -0
  284. package/lib/programmers/protobuf/ProtobufAssertDecodeProgrammer.d.mts +16 -0
  285. package/lib/programmers/protobuf/ProtobufAssertEncodeProgrammer.d.mts +16 -0
  286. package/lib/programmers/protobuf/ProtobufDecodeProgrammer.d.mts +15 -0
  287. package/lib/programmers/protobuf/ProtobufEncodeProgrammer.d.mts +15 -0
  288. package/lib/programmers/protobuf/ProtobufIsDecodeProgrammer.d.mts +15 -0
  289. package/lib/programmers/protobuf/ProtobufIsEncodeProgrammer.d.mts +15 -0
  290. package/lib/programmers/protobuf/ProtobufMessageProgrammer.d.mts +9 -0
  291. package/lib/programmers/protobuf/ProtobufValidateDecodeProgrammer.d.mts +15 -0
  292. package/lib/programmers/protobuf/ProtobufValidateEncodeProgrammer.d.mts +15 -0
  293. package/lib/protobuf.d.mts +661 -0
  294. package/lib/reflect.d.mts +35 -0
  295. package/lib/schemas/json/IJsonApplication.d.mts +12 -0
  296. package/lib/schemas/json/IJsonSchemaCollection.d.mts +23 -0
  297. package/lib/schemas/json/__IJsonApplication.d.mts +35 -0
  298. package/lib/schemas/llm/ILlmApplicationOfValidate.d.mts +5 -0
  299. package/lib/schemas/llm/ILlmFunctionOfValidate.d.mts +5 -0
  300. package/lib/schemas/metadata/IJsDocTagInfo.d.mts +10 -0
  301. package/lib/schemas/metadata/IMetadata.d.mts +31 -0
  302. package/lib/schemas/metadata/IMetadataAlias.d.mts +5 -0
  303. package/lib/schemas/metadata/IMetadataAliasType.d.mts +10 -0
  304. package/lib/schemas/metadata/IMetadataApplication.d.mts +6 -0
  305. package/lib/schemas/metadata/IMetadataArray.d.mts +5 -0
  306. package/lib/schemas/metadata/IMetadataArrayType.d.mts +8 -0
  307. package/lib/schemas/metadata/IMetadataAtomic.d.mts +5 -0
  308. package/lib/schemas/metadata/IMetadataComponents.d.mts +10 -0
  309. package/lib/schemas/metadata/IMetadataConstant.d.mts +9 -0
  310. package/lib/schemas/metadata/IMetadataConstantValue.d.mts +9 -0
  311. package/lib/schemas/metadata/IMetadataDictionary.d.mts +10 -0
  312. package/lib/schemas/metadata/IMetadataEscaped.d.mts +5 -0
  313. package/lib/schemas/metadata/IMetadataFunction.d.mts +7 -0
  314. package/lib/schemas/metadata/IMetadataMap.d.mts +7 -0
  315. package/lib/schemas/metadata/IMetadataNative.d.mts +5 -0
  316. package/lib/schemas/metadata/IMetadataObject.d.mts +5 -0
  317. package/lib/schemas/metadata/IMetadataObjectType.d.mts +11 -0
  318. package/lib/schemas/metadata/IMetadataParameter.d.mts +8 -0
  319. package/lib/schemas/metadata/IMetadataProperty.d.mts +8 -0
  320. package/lib/schemas/metadata/IMetadataSet.d.mts +6 -0
  321. package/lib/schemas/metadata/IMetadataTemplate.d.mts +6 -0
  322. package/lib/schemas/metadata/IMetadataTuple.d.mts +5 -0
  323. package/lib/schemas/metadata/IMetadataTupleType.d.mts +8 -0
  324. package/lib/schemas/metadata/IMetadataTypeTag.d.mts +9 -0
  325. package/lib/schemas/metadata/Metadata.d.mts +50 -0
  326. package/lib/schemas/metadata/MetadataAlias.d.mts +13 -0
  327. package/lib/schemas/metadata/MetadataAliasType.d.mts +16 -0
  328. package/lib/schemas/metadata/MetadataApplication.d.mts +13 -0
  329. package/lib/schemas/metadata/MetadataArray.d.mts +16 -0
  330. package/lib/schemas/metadata/MetadataArrayType.d.mts +14 -0
  331. package/lib/schemas/metadata/MetadataAtomic.d.mts +12 -0
  332. package/lib/schemas/metadata/MetadataComponents.d.mts +16 -0
  333. package/lib/schemas/metadata/MetadataConstant.d.mts +11 -0
  334. package/lib/schemas/metadata/MetadataConstantValue.d.mts +16 -0
  335. package/lib/schemas/metadata/MetadataEscaped.d.mts +12 -0
  336. package/lib/schemas/metadata/MetadataFunction.d.mts +15 -0
  337. package/lib/schemas/metadata/MetadataMap.d.mts +14 -0
  338. package/lib/schemas/metadata/MetadataNative.d.mts +12 -0
  339. package/lib/schemas/metadata/MetadataObject.d.mts +16 -0
  340. package/lib/schemas/metadata/MetadataObjectType.d.mts +20 -0
  341. package/lib/schemas/metadata/MetadataParameter.d.mts +15 -0
  342. package/lib/schemas/metadata/MetadataProperty.d.mts +16 -0
  343. package/lib/schemas/metadata/MetadataSet.d.mts +13 -0
  344. package/lib/schemas/metadata/MetadataTemplate.d.mts +15 -0
  345. package/lib/schemas/metadata/MetadataTuple.d.mts +12 -0
  346. package/lib/schemas/metadata/MetadataTupleType.d.mts +13 -0
  347. package/lib/schemas/protobuf/IProtobufProperty.d.mts +5 -0
  348. package/lib/schemas/protobuf/IProtobufPropertyType.d.mts +28 -0
  349. package/lib/schemas/protobuf/IProtobufSchema.d.mts +38 -0
  350. package/lib/tags/Constant.d.mts +10 -0
  351. package/lib/tags/ContentMediaType.d.mts +9 -0
  352. package/lib/tags/Default.d.mts +14 -0
  353. package/lib/tags/Example.d.mts +14 -0
  354. package/lib/tags/Examples.d.mts +10 -0
  355. package/lib/tags/ExclusiveMaximum.d.mts +18 -0
  356. package/lib/tags/ExclusiveMinimum.d.mts +18 -0
  357. package/lib/tags/Format.d.mts +17 -0
  358. package/lib/tags/JsonSchemaPlugin.d.mts +7 -0
  359. package/lib/tags/MaxItems.d.mts +11 -0
  360. package/lib/tags/MaxLength.d.mts +11 -0
  361. package/lib/tags/Maximum.d.mts +16 -0
  362. package/lib/tags/MinItems.d.mts +11 -0
  363. package/lib/tags/MinLength.d.mts +11 -0
  364. package/lib/tags/Minimum.d.mts +16 -0
  365. package/lib/tags/MultipleOf.d.mts +16 -0
  366. package/lib/tags/Pattern.d.mts +22 -0
  367. package/lib/tags/Sequence.d.mts +9 -0
  368. package/lib/tags/TagBase.d.mts +60 -0
  369. package/lib/tags/Type.d.mts +17 -0
  370. package/lib/tags/UniqueItems.d.mts +11 -0
  371. package/lib/tags/index.d.mts +21 -0
  372. package/lib/tags/internal/FormatCheatSheet.d.mts +27 -0
  373. package/lib/transform.d.mts +5 -0
  374. package/lib/transformers/CallExpressionTransformer.d.mts +8 -0
  375. package/lib/transformers/FileTransformer.d.mts +5 -0
  376. package/lib/transformers/IProgrammerProps.d.mts +9 -0
  377. package/lib/transformers/ITransformOptions.d.mts +59 -0
  378. package/lib/transformers/ITransformProps.d.mts +7 -0
  379. package/lib/transformers/ITypiaContext.d.mts +15 -0
  380. package/lib/transformers/ImportTransformer.d.mts +7 -0
  381. package/lib/transformers/NodeTransformer.d.mts +8 -0
  382. package/lib/transformers/TransformerError.d.mts +15 -0
  383. package/lib/transformers/features/AssertTransformer.d.mts +5 -0
  384. package/lib/transformers/features/CreateAssertTransformer.d.mts +5 -0
  385. package/lib/transformers/features/CreateIsTransformer.d.mts +5 -0
  386. package/lib/transformers/features/CreateRandomTransformer.d.mts +5 -0
  387. package/lib/transformers/features/CreateValidateTransformer.d.mts +5 -0
  388. package/lib/transformers/features/IsTransformer.d.mts +5 -0
  389. package/lib/transformers/features/RandomTransformer.d.mts +5 -0
  390. package/lib/transformers/features/ValidateTransformer.d.mts +5 -0
  391. package/lib/transformers/features/functional/FunctionalGenericTransformer.d.mts +21 -0
  392. package/lib/transformers/features/http/CreateHttpAssertFormDataTransformer.d.mts +4 -0
  393. package/lib/transformers/features/http/CreateHttpAssertHeadersTransformer.d.mts +4 -0
  394. package/lib/transformers/features/http/CreateHttpAssertQueryTransformer.d.mts +4 -0
  395. package/lib/transformers/features/http/CreateHttpFormDataTransformer.d.mts +4 -0
  396. package/lib/transformers/features/http/CreateHttpHeadersTransformer.d.mts +4 -0
  397. package/lib/transformers/features/http/CreateHttpIsFormDataTransformer.d.mts +4 -0
  398. package/lib/transformers/features/http/CreateHttpIsHeadersTransformer.d.mts +4 -0
  399. package/lib/transformers/features/http/CreateHttpIsQueryTransformer.d.mts +4 -0
  400. package/lib/transformers/features/http/CreateHttpParameterTransformer.d.mts +4 -0
  401. package/lib/transformers/features/http/CreateHttpQueryTransformer.d.mts +4 -0
  402. package/lib/transformers/features/http/CreateHttpValidateFormDataTransformer.d.mts +4 -0
  403. package/lib/transformers/features/http/CreateHttpValidateHeadersTransformer.d.mts +4 -0
  404. package/lib/transformers/features/http/CreateHttpValidateQueryTransformer.d.mts +4 -0
  405. package/lib/transformers/features/http/HttpAssertFormDataTransformer.d.mts +4 -0
  406. package/lib/transformers/features/http/HttpAssertHeadersTransformer.d.mts +4 -0
  407. package/lib/transformers/features/http/HttpAssertQueryTransformer.d.mts +4 -0
  408. package/lib/transformers/features/http/HttpFormDataTransformer.d.mts +4 -0
  409. package/lib/transformers/features/http/HttpHeadersTransformer.d.mts +4 -0
  410. package/lib/transformers/features/http/HttpIsFormDataTransformer.d.mts +4 -0
  411. package/lib/transformers/features/http/HttpIsHeadersTransformer.d.mts +4 -0
  412. package/lib/transformers/features/http/HttpIsQueryTransformer.d.mts +4 -0
  413. package/lib/transformers/features/http/HttpParameterTransformer.d.mts +4 -0
  414. package/lib/transformers/features/http/HttpQueryTransformer.d.mts +4 -0
  415. package/lib/transformers/features/http/HttpValidateFormDataTransformer.d.mts +4 -0
  416. package/lib/transformers/features/http/HttpValidateHeadersTransformer.d.mts +4 -0
  417. package/lib/transformers/features/http/HttpValidateQueryTransformer.d.mts +4 -0
  418. package/lib/transformers/features/json/JsonAssertParseTransformer.d.mts +4 -0
  419. package/lib/transformers/features/json/JsonAssertStringifyTransformer.d.mts +4 -0
  420. package/lib/transformers/features/json/JsonCreateAssertParseTransformer.d.mts +4 -0
  421. package/lib/transformers/features/json/JsonCreateAssertStringifyTransformer.d.mts +4 -0
  422. package/lib/transformers/features/json/JsonCreateIsParseTransformer.d.mts +4 -0
  423. package/lib/transformers/features/json/JsonCreateIsStringifyTransformer.d.mts +4 -0
  424. package/lib/transformers/features/json/JsonCreateStringifyTransformer.d.mts +4 -0
  425. package/lib/transformers/features/json/JsonCreateValidateParseTransformer.d.mts +4 -0
  426. package/lib/transformers/features/json/JsonCreateValidateStringifyProgrammer.d.mts +4 -0
  427. package/lib/transformers/features/json/JsonIsParseTransformer.d.mts +4 -0
  428. package/lib/transformers/features/json/JsonIsStringifyTransformer.d.mts +4 -0
  429. package/lib/transformers/features/json/JsonSchemasTransformer.d.mts +5 -0
  430. package/lib/transformers/features/json/JsonStringifyTransformer.d.mts +4 -0
  431. package/lib/transformers/features/json/JsonValidateParseTransformer.d.mts +4 -0
  432. package/lib/transformers/features/json/JsonValidateStringifyTransformer.d.mts +4 -0
  433. package/lib/transformers/features/llm/LlmApplicationTransformer.d.mts +5 -0
  434. package/lib/transformers/features/llm/LlmParametersTransformer.d.mts +5 -0
  435. package/lib/transformers/features/llm/LlmSchemaTransformer.d.mts +5 -0
  436. package/lib/transformers/features/misc/MiscAssertCloneTransformer.d.mts +4 -0
  437. package/lib/transformers/features/misc/MiscAssertPruneTransformer.d.mts +4 -0
  438. package/lib/transformers/features/misc/MiscCloneTransformer.d.mts +4 -0
  439. package/lib/transformers/features/misc/MiscCreateAssertCloneTransformer.d.mts +4 -0
  440. package/lib/transformers/features/misc/MiscCreateAssertPruneTransformer.d.mts +4 -0
  441. package/lib/transformers/features/misc/MiscCreateCloneTransformer.d.mts +4 -0
  442. package/lib/transformers/features/misc/MiscCreateIsCloneTransformer.d.mts +4 -0
  443. package/lib/transformers/features/misc/MiscCreateIsPruneTransformer.d.mts +4 -0
  444. package/lib/transformers/features/misc/MiscCreatePruneTransformer.d.mts +4 -0
  445. package/lib/transformers/features/misc/MiscCreateValidateCloneTransformer.d.mts +4 -0
  446. package/lib/transformers/features/misc/MiscCreateValidatePruneTransformer.d.mts +4 -0
  447. package/lib/transformers/features/misc/MiscIsCloneTransformer.d.mts +4 -0
  448. package/lib/transformers/features/misc/MiscIsPruneTransformer.d.mts +4 -0
  449. package/lib/transformers/features/misc/MiscLiteralsTransformer.d.mts +5 -0
  450. package/lib/transformers/features/misc/MiscPruneTransformer.d.mts +4 -0
  451. package/lib/transformers/features/misc/MiscValidateCloneTransformer.d.mts +4 -0
  452. package/lib/transformers/features/misc/MiscValidatePruneTransformer.d.mts +4 -0
  453. package/lib/transformers/features/notations/NotationAssertGeneralTransformer.d.mts +4 -0
  454. package/lib/transformers/features/notations/NotationCreateAssertGeneralTransformer.d.mts +4 -0
  455. package/lib/transformers/features/notations/NotationCreateGeneralTransformer.d.mts +4 -0
  456. package/lib/transformers/features/notations/NotationCreateIsGeneralTransformer.d.mts +4 -0
  457. package/lib/transformers/features/notations/NotationCreateValidateGeneralTransformer.d.mts +4 -0
  458. package/lib/transformers/features/notations/NotationGeneralTransformer.d.mts +4 -0
  459. package/lib/transformers/features/notations/NotationIsGeneralTransformer.d.mts +4 -0
  460. package/lib/transformers/features/notations/NotationValidateGeneralTransformer.d.mts +4 -0
  461. package/lib/transformers/features/protobuf/ProtobufAssertDecodeTransformer.d.mts +4 -0
  462. package/lib/transformers/features/protobuf/ProtobufAssertEncodeTransformer.d.mts +4 -0
  463. package/lib/transformers/features/protobuf/ProtobufCreateAssertDecodeTransformer.d.mts +4 -0
  464. package/lib/transformers/features/protobuf/ProtobufCreateAssertEncodeTransformer.d.mts +4 -0
  465. package/lib/transformers/features/protobuf/ProtobufCreateDecodeTransformer.d.mts +4 -0
  466. package/lib/transformers/features/protobuf/ProtobufCreateEncodeTransformer.d.mts +4 -0
  467. package/lib/transformers/features/protobuf/ProtobufCreateIsDecodeTransformer.d.mts +4 -0
  468. package/lib/transformers/features/protobuf/ProtobufCreateIsEncodeTransformer.d.mts +4 -0
  469. package/lib/transformers/features/protobuf/ProtobufCreateValidateDecodeTransformer.d.mts +4 -0
  470. package/lib/transformers/features/protobuf/ProtobufCreateValidateEncodeTransformer.d.mts +4 -0
  471. package/lib/transformers/features/protobuf/ProtobufDecodeTransformer.d.mts +4 -0
  472. package/lib/transformers/features/protobuf/ProtobufEncodeTransformer.d.mts +4 -0
  473. package/lib/transformers/features/protobuf/ProtobufIsDecodeTransformer.d.mts +4 -0
  474. package/lib/transformers/features/protobuf/ProtobufIsEncodeTransformer.d.mts +4 -0
  475. package/lib/transformers/features/protobuf/ProtobufMessageTransformer.d.mts +5 -0
  476. package/lib/transformers/features/protobuf/ProtobufValidateDecodeTransformer.d.mts +4 -0
  477. package/lib/transformers/features/protobuf/ProtobufValidateEncodeTransformer.d.mts +4 -0
  478. package/lib/transformers/features/reflect/ReflectMetadataTransformer.d.mts +5 -0
  479. package/lib/transformers/features/reflect/ReflectNameTransformer.d.mts +5 -0
  480. package/lib/transformers/internal/GenericTransformer.d.mts +11 -0
  481. package/lib/typings/Atomic.d.mts +11 -0
  482. package/lib/typings/ClassProperties.d.mts +4 -0
  483. package/lib/typings/Customizable.d.mts +5 -0
  484. package/lib/typings/Equal.d.mts +15 -0
  485. package/lib/typings/IsTuple.d.mts +5 -0
  486. package/lib/typings/NativeClass.d.mts +1 -0
  487. package/lib/typings/OmitNever.d.mts +2 -0
  488. package/lib/typings/ProtobufAtomic.d.mts +5 -0
  489. package/lib/typings/SpecialFields.d.mts +3 -0
  490. package/lib/typings/ValidationPipe.d.mts +7 -0
  491. package/lib/typings/ValueOf.d.mts +6 -0
  492. package/lib/typings/Writable.d.mts +5 -0
  493. package/lib/utils/ArrayUtil.d.mts +7 -0
  494. package/lib/utils/Escaper.d.mts +4 -0
  495. package/lib/utils/MapUtil.d.mts +3 -0
  496. package/lib/utils/NamingConvention.d.mts +5 -0
  497. package/lib/utils/PatternUtil.d.mts +7 -0
  498. package/lib/utils/ProtobufNameEncoder.d.mts +4 -0
  499. package/lib/utils/Singleton.d.mts +6 -0
  500. package/lib/utils/StringUtil.d.mts +8 -0
  501. package/package.json +4 -5
@@ -0,0 +1,707 @@
1
+ import { AssertionGuard } from "./AssertionGuard";
2
+ import { IRandomGenerator } from "./IRandomGenerator";
3
+ import { IValidation } from "./IValidation";
4
+ import { Resolved } from "./Resolved";
5
+ import { TypeGuardError } from "./TypeGuardError";
6
+ export * as functional from "./functional";
7
+ export * as http from "./http";
8
+ export * as llm from "./llm";
9
+ export * as json from "./json";
10
+ export * as misc from "./misc";
11
+ export * as notations from "./notations";
12
+ export * as protobuf from "./protobuf";
13
+ export * as reflect from "./reflect";
14
+ export * as tags from "./tags";
15
+ export * from "./schemas/metadata/IJsDocTagInfo";
16
+ export * from "./schemas/json/IJsonApplication";
17
+ export * from "./schemas/json/IJsonSchemaCollection";
18
+ export * from "./schemas/llm/ILlmApplicationOfValidate";
19
+ export * from "./schemas/llm/ILlmFunctionOfValidate";
20
+ export * from "./AssertionGuard";
21
+ export * from "./IRandomGenerator";
22
+ export * from "./IValidation";
23
+ export * from "./TypeGuardError";
24
+ export * from "./Primitive";
25
+ export * from "./Resolved";
26
+ export * from "./CamelCase";
27
+ export * from "./PascalCase";
28
+ export * from "./SnakeCase";
29
+ export * from "./IReadableURLSearchParams";
30
+ /**
31
+ * Asserts a value type.
32
+ *
33
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
34
+ * reason, if the parametric value is not following the type `T`. Otherwise, the
35
+ * value is following the type `T`, just input parameter would be returned.
36
+ *
37
+ * If what you want is not asserting but just knowing whether the parametric value is
38
+ * following the type `T` or not, you can choose the {@link is} function instead.
39
+ * Otherwise you want to know all the errors, {@link validate} is the way to go.
40
+ * Also, if you want to automatically cast the parametric value to the type `T`
41
+ * when no problem (perform the assertion guard of type).
42
+ *
43
+ * On the other and, if you don't want to allow any superfluous property that is not
44
+ * enrolled to the type `T`, you can use {@link assertEquals} function instead.
45
+ *
46
+ * @template T Type of the input value
47
+ * @param input A value to be asserted
48
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
49
+ * @returns Parametric input value
50
+ * @throws A {@link TypeGuardError} instance with detailed reason
51
+ *
52
+ * @author Jeongho Nam - https://github.com/samchon
53
+ */
54
+ export declare function assert<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;
55
+ /**
56
+ * Asserts a value type.
57
+ *
58
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
59
+ * reason, if the parametric value is not following the type `T`. Otherwise, the
60
+ * value is following the type `T`, just input parameter would be returned.
61
+ *
62
+ * If what you want is not asserting but just knowing whether the parametric value is
63
+ * following the type `T` or not, you can choose the {@link is} function instead.
64
+ * Otherwise, you want to know all the errors, {@link validate} is the way to go.
65
+ *
66
+ * On the other and, if you don't want to allow any superfluous property that is not
67
+ * enrolled to the type `T`, you can use {@link assertEquals} function instead.
68
+ *
69
+ * @template T Type of the input value
70
+ * @param input A value to be asserted
71
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
72
+ * @returns Parametric input value casted as `T`
73
+ * @throws A {@link TypeGuardError} instance with detailed reason
74
+ *
75
+ * @author Jeongho Nam - https://github.com/samchon
76
+ */
77
+ export declare function assert<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;
78
+ /**
79
+ * Assertion guard of a value type.
80
+ *
81
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
82
+ * reason, if the parametric value is not following the type `T`. Otherwise, the
83
+ * value is following the type `T`, nothing would be returned, but the input value
84
+ * would be automatically casted to the type `T`. This is the concept of
85
+ * "Assertion Guard" of a value type.
86
+ *
87
+ * If what you want is not asserting but just knowing whether the parametric value is
88
+ * following the type `T` or not, you can choose the {@link is} function instead.
89
+ * Otherwise you want to know all the errors, {@link validate} is the way to go.
90
+ * Also, if you want to returns the parametric value when no problem, you can use
91
+ * {@link assert} function instead.
92
+ *
93
+ * On the other and, if you don't want to allow any superfluous property that is not
94
+ * enrolled to the type `T`, you can use {@link assertGuardEquals} function instead.
95
+ *
96
+ * @template T Type of the input value
97
+ * @param input A value to be asserted
98
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
99
+ * @throws A {@link TypeGuardError} instance with detailed reason
100
+ *
101
+ * @author Jeongho Nam - https://github.com/samchon
102
+ */
103
+ export declare function assertGuard<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;
104
+ /**
105
+ * Assertion guard of a value type.
106
+ *
107
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
108
+ * reason, if the parametric value is not following the type `T`. Otherwise, the
109
+ * value is following the type `T`, nothing would be returned, but the input value
110
+ * would be automatically casted to the type `T`. This is the concept of
111
+ * "Assertion Guard" of a value type.
112
+ *
113
+ * If what you want is not asserting but just knowing whether the parametric value is
114
+ * following the type `T` or not, you can choose the {@link is} function instead.
115
+ * Otherwise you want to know all the errors, {@link validate} is the way to go.
116
+ * Also, if you want to returns the parametric value when no problem, you can use
117
+ * {@link assert} function instead.
118
+ *
119
+ * On the other and, if you don't want to allow any superfluous property that is not
120
+ * enrolled to the type `T`, you can use {@link assertGuardEquals} function instead.
121
+ *
122
+ * @template T Type of the input value
123
+ * @param input A value to be asserted
124
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
125
+ * @throws A {@link TypeGuardError} instance with detailed reason
126
+ *
127
+ * @author Jeongho Nam - https://github.com/samchon
128
+ */
129
+ export declare function assertGuard<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;
130
+ /**
131
+ * Tests a value type.
132
+ *
133
+ * Tests a parametric value type and returns whether it's following the type `T` or not.
134
+ * If the parametric value is matched with the type `T`, `true` value would be returned.
135
+ * Otherwise, the parametric value is not following the type `T`, `false` value would be
136
+ * returned.
137
+ *
138
+ * If what you want is not just knowing whether the parametric value is following the
139
+ * type `T` or not, but throwing an exception with detailed reason, you can choose
140
+ * {@link assert} function instead. Also, if you want to know all the errors with
141
+ * detailed reasons, {@link validate} function would be useful.
142
+ *
143
+ * On the other and, if you don't want to allow any superfluous property that is not
144
+ * enrolled to the type `T`, you can use {@link equals} function instead.
145
+ *
146
+ * @template T Type of the input value
147
+ * @param input A value to be tested
148
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
149
+ * @returns Whether the parametric value is following the type `T` or not
150
+ *
151
+ * @author Jeongho Nam - https://github.com/samchon
152
+ */
153
+ export declare function is<T>(input: T): input is T;
154
+ /**
155
+ * Tests a value type.
156
+ *
157
+ * Tests a parametric value type and returns whether it's following the type `T` or not.
158
+ * If the parametric value is matched with the type `T`, `true` value would be returned.
159
+ * Otherwise, the parametric value is not following the type `T`, `false` value would be
160
+ * returned.
161
+ *
162
+ * If what you want is not just knowing whether the parametric value is following the
163
+ * type `T` or not, but throwing an exception with detailed reason, you can choose
164
+ * {@link assert} function instead. Also, if you want to know all the errors with
165
+ * detailed reasons, {@link validate} function would be useful.
166
+ *
167
+ * On the other and, if you don't want to allow any superfluous property that is not
168
+ * enrolled to the type `T`, you can use {@link equals} function instead.
169
+ *
170
+ * @template T Type of the input value
171
+ * @param input A value to be tested
172
+ * @returns Whether the parametric value is following the type `T` or not
173
+ *
174
+ * @author Jeongho Nam - https://github.com/samchon
175
+ */
176
+ export declare function is<T>(input: unknown): input is T;
177
+ /**
178
+ * Validates a value type.
179
+ *
180
+ * Validates a parametric value type and archives all the type errors into an
181
+ * {@link IValidation.errors} array, if the parametric value is not following the
182
+ * type `T`. Of course, if the parametric value is following the type `T`, the
183
+ * {@link IValidation.errors} array would be empty and {@link IValidation.success}
184
+ * would have the `true` value.
185
+ *
186
+ * If what you want is not finding all the error, but asserting the parametric value
187
+ * type with exception throwing, you can choose {@link assert} function instead.
188
+ * Otherwise, you just want to know whether the parametric value is matched with the
189
+ * type `T`, {@link is} function is the way to go.
190
+ *
191
+ * On the other and, if you don't want to allow any superfluous property that is not
192
+ * enrolled to the type `T`, you can use {@link validateEquals} function instead.
193
+ *
194
+ * @template Type of the input value
195
+ * @param input A value to be validated
196
+ * @returns Validation result
197
+ *
198
+ * @author Jeongho Nam - https://github.com/samchon
199
+ */
200
+ export declare function validate<T>(input: T): IValidation<T>;
201
+ /**
202
+ * Validates a value type.
203
+ *
204
+ * Validates a parametric value type and archives all the type errors into an
205
+ * {@link IValidation.errors} array, if the parametric value is not following the
206
+ * type `T`. Of course, if the parametric value is following the type `T`, the
207
+ * {@link IValidation.errors} array would be empty and {@link IValidation.success}
208
+ * would have the `true` value.
209
+ *
210
+ * If what you want is not finding all the error, but asserting the parametric value
211
+ * type with exception throwing, you can choose {@link assert} function instead.
212
+ * Otherwise, you just want to know whether the parametric value is matched with the
213
+ * type `T`, {@link is} function is the way to go.
214
+ *
215
+ * On the other and, if you don't want to allow any superfluous property that is not
216
+ * enrolled to the type `T`, you can use {@link validateEquals} function instead.
217
+ *
218
+ * @template Type of the input value
219
+ * @param input A value to be validated
220
+ * @returns Validation result
221
+ *
222
+ * @author Jeongho Nam - https://github.com/samchon
223
+ */
224
+ export declare function validate<T>(input: unknown): IValidation<T>;
225
+ /**
226
+ * Asserts equality between a value and its type.
227
+ *
228
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
229
+ * reason, if the parametric value is not following the type `T` or some superfluous
230
+ * property that is not listed on the type `T` has been found. Otherwise, the value is
231
+ * following the type `T` without any superfluous property, just input parameter would
232
+ * be returned.
233
+ *
234
+ * If what you want is not asserting but just knowing whether the parametric value is
235
+ * following the type `T` or not, you can choose the {@link equals} function instead.
236
+ * Otherwise, you want to know all the errors, {@link validateEquals} is the way to go.
237
+ *
238
+ * On the other hand, if you want to allow superfluous property that is not enrolled
239
+ * to the type `T`, you can use {@link assert} function instead.
240
+ *
241
+ * @template T Type of the input value
242
+ * @param input A value to be asserted
243
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
244
+ * @returns Parametric input value
245
+ * @throws A {@link TypeGuardError} instance with detailed reason
246
+ *
247
+ * @author Jeongho Nam - https://github.com/samchon
248
+ */
249
+ export declare function assertEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;
250
+ /**
251
+ * Asserts equality between a value and its type.
252
+ *
253
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
254
+ * reason, if the parametric value is not following the type `T` or some superfluous
255
+ * property that is not listed on the type `T` has been found. Otherwise, the value is
256
+ * following the type `T` without any superfluous property, just input parameter would
257
+ * be returned.
258
+ *
259
+ * If what you want is not asserting but just knowing whether the parametric value is
260
+ * following the type `T` or not, you can choose the {@link equals} function instead.
261
+ * Otherwise, you want to know all the errors, {@link validateEquals} is the way to go.
262
+ *
263
+ * On the other hand, if you want to allow superfluous property that is not enrolled
264
+ * to the type `T`, you can use {@link assert} function instead.
265
+ *
266
+ * @template T Type of the input value
267
+ * @param input A value to be asserted
268
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
269
+ * @returns Parametric input value casted as `T`
270
+ * @throws A {@link TypeGuardError} instance with detailed reason
271
+ *
272
+ * @author Jeongho Nam - https://github.com/samchon
273
+ */
274
+ export declare function assertEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): T;
275
+ /**
276
+ * Assertion guard of a type with equality.
277
+ *
278
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
279
+ * reason, if the parametric value is not following the type `T` or some superfluous
280
+ * property that is not listed on the type `T` has been found.
281
+ *
282
+ * Otherwise, the value is following the type `T` without any superfluous property,
283
+ * nothing would be returned, but the input value would be automatically casted to
284
+ * the type `T`. This is the concept of "Assertion Guard" of a value type.
285
+ *
286
+ * If what you want is not asserting but just knowing whether the parametric value is
287
+ * following the type `T` or not, you can choose the {@link equals} function instead.
288
+ * Otherwise, you want to know all the errors, {@link validateEquals} is the way to go.
289
+ * Also, if you want to returns the parametric value when no problem, you can use
290
+ * {@link assert} function instead.
291
+ *
292
+ * On the other hand, if you want to allow superfluous property that is not enrolled
293
+ * to the type `T`, you can use {@link assertEquals} function instead.
294
+ *
295
+ * @template T Type of the input value
296
+ * @param input A value to be asserted
297
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
298
+ * @returns Parametric input value casted as `T`
299
+ * @throws A {@link TypeGuardError} instance with detailed reason
300
+ *
301
+ * @author Jeongho Nam - https://github.com/samchon
302
+ */
303
+ export declare function assertGuardEquals<T>(input: T, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;
304
+ /**
305
+ * Assertion guard of a type with equality.
306
+ *
307
+ * Asserts a parametric value type and throws a {@link TypeGuardError} with detailed
308
+ * reason, if the parametric value is not following the type `T` or some superfluous
309
+ * property that is not listed on the type `T` has been found.
310
+ *
311
+ * Otherwise, the value is following the type `T` without any superfluous property,
312
+ * nothing would be returned, but the input value would be automatically casted to
313
+ * the type `T`. This is the concept of "Assertion Guard" of a value type.
314
+ *
315
+ * If what you want is not asserting but just knowing whether the parametric value is
316
+ * following the type `T` or not, you can choose the {@link equals} function instead.
317
+ * Otherwise, you want to know all the errors, {@link validateEquals} is the way to go.
318
+ * Also, if you want to returns the parametric value when no problem, you can use
319
+ * {@link assertEquals} function instead.
320
+ *
321
+ * On the other hand, if you want to allow superfluous property that is not enrolled
322
+ * to the type `T`, you can use {@link assertGuard} function instead.
323
+ *
324
+ * @template T Type of the input value
325
+ * @param input A value to be asserted
326
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
327
+ * @returns Parametric input value casted as `T`
328
+ * @throws A {@link TypeGuardError} instance with detailed reason
329
+ *
330
+ * @author Jeongho Nam - https://github.com/samchon
331
+ */
332
+ export declare function assertGuardEquals<T>(input: unknown, errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): asserts input is T;
333
+ /**
334
+ * Tests equality between a value and its type.
335
+ *
336
+ * Tests a parametric value type and returns whether it's equivalent to the type `T`
337
+ * or not. If the parametric value is matched with the type `T` and there's not any
338
+ * superfluous property that is not listed on the type `T`, `true` value would be
339
+ * returned. Otherwise, the parametric value is not following the type `T` or some
340
+ * superfluous property exists, `false` value would be returned.
341
+ *
342
+ * If what you want is not just knowing whether the parametric value is following the
343
+ * type `T` or not, but throwing an exception with detailed reason, you can choose
344
+ * {@link assertEquals} function instead. Also, if you want to know all the errors with
345
+ * detailed reasons, {@link validateEquals} function would be useful.
346
+ *
347
+ * On the other hand, if you want to allow superfluous property that is not enrolled
348
+ * to the type `T`, you can use {@link is} function instead.
349
+ *
350
+ * @template T Type of the input value
351
+ * @param input A value to be tested
352
+ * @returns Whether the parametric value is equivalent to the type `T` or not
353
+ *
354
+ * @author Jeongho Nam - https://github.com/samchon
355
+ */
356
+ export declare function equals<T>(input: T): input is T;
357
+ /**
358
+ * Tests equality between a value and its type.
359
+ *
360
+ * Tests a parametric value type and returns whether it's equivalent to the type `T`
361
+ * or not. If the parametric value is matched with the type `T` and there's not any
362
+ * superfluous property that is not listed on the type `T`, `true` value would be
363
+ * returned. Otherwise, the parametric value is not following the type `T` or some
364
+ * superfluous property exists, `false` value would be returned.
365
+ *
366
+ * If what you want is not just knowing whether the parametric value is following the
367
+ * type `T` or not, but throwing an exception with detailed reason, you can choose
368
+ * {@link assertEquals} function instead. Also, if you want to know all the errors with
369
+ * detailed reasons, {@link validateEquals} function would be useful.
370
+ *
371
+ * On the other hand, if you want to allow superfluous property that is not enrolled
372
+ * to the type `T`, you can use {@link is} function instead.
373
+ *
374
+ * @template T Type of the input value
375
+ * @param input A value to be tested
376
+ * @returns Whether the parametric value is equivalent to the type `T` or not
377
+ *
378
+ * @author Jeongho Nam - https://github.com/samchon
379
+ */
380
+ export declare function equals<T>(input: unknown): input is T;
381
+ /**
382
+ * Validates equality between a value and its type.
383
+ *
384
+ * Validates a parametric value type and archives all the type errors into an
385
+ * {@link IValidation.errors} array, if the parametric value is not following the
386
+ * type `T` or some superfluous property that is not listed on the type `T` has been
387
+ * found. Of course, if the parametric value is following the type `T` and no
388
+ * superfluous property exists, the {@link IValidation.errors} array would be empty
389
+ * and {@link IValidation.success} would have the `true` value.
390
+ *
391
+ * If what you want is not finding all the error, but asserting the parametric value
392
+ * type with exception throwing, you can choose {@link assert} function instead.
393
+ * Otherwise, you just want to know whether the parametric value is matched with the
394
+ * type `T`, {@link is} function is the way to go.
395
+ *
396
+ * On the other and, if you don't want to allow any superfluous property that is not
397
+ * enrolled to the type `T`, you can use {@link validateEquals} function instead.
398
+ *
399
+ * @template Type of the input value
400
+ * @param input A value to be validated
401
+ * @returns Validation result
402
+ *
403
+ * @author Jeongho Nam - https://github.com/samchon
404
+ */
405
+ export declare function validateEquals<T>(input: T): IValidation<T>;
406
+ /**
407
+ * Validates equality between a value and its type.
408
+ *
409
+ * Validates a parametric value type and archives all the type errors into an
410
+ * {@link IValidation.errors} array, if the parametric value is not following the
411
+ * type `T` or some superfluous property that is not listed on the type `T` has been
412
+ * found. Of course, if the parametric value is following the type `T` and no
413
+ * superfluous property exists, the {@link IValidation.errors} array would be empty
414
+ * and {@link IValidation.success} would have the `true` value.
415
+ *
416
+ * If what you want is not finding all the error, but asserting the parametric value
417
+ * type with exception throwing, you can choose {@link assert} function instead.
418
+ * Otherwise, you just want to know whether the parametric value is matched with the
419
+ * type `T`, {@link is} function is the way to go.
420
+ *
421
+ * On the other and, if you don't want to allow any superfluous property that is not
422
+ * enrolled to the type `T`, you can use {@link validateEquals} function instead.
423
+ *
424
+ * @template Type of the input value
425
+ * @param input A value to be validated
426
+ * @returns Validation result
427
+ *
428
+ * @author Jeongho Nam - https://github.com/samchon
429
+ */
430
+ export declare function validateEquals<T>(input: unknown): IValidation<T>;
431
+ /**
432
+ * > You must configure the generic argument `T`.
433
+ *
434
+ * Generate random data.
435
+ *
436
+ * Generates a random data following type the `T`.
437
+ *
438
+ * For reference, this `typia.random()` function generates only primitive type.
439
+ * If there're some methods in the type `T` or its nested instances, those would
440
+ * be ignored. Also, when the type `T` has a `toJSON()` method, its return type
441
+ * would be generated instead.
442
+ *
443
+ * @template T Type of data to generate
444
+ * @param generator Random data generator
445
+ * @return Randomly generated data
446
+ *
447
+ * @author Jeongho Nam - https://github.com/samchon
448
+ */
449
+ export declare function random(generator?: Partial<IRandomGenerator>): never;
450
+ /**
451
+ * Generate random data.
452
+ *
453
+ * Generates a random data following type the `T`.
454
+ *
455
+ * For reference, this `typia.random()` function generates only primitive type.
456
+ * If there're some methods in the type `T` or its nested instances, those would
457
+ * be ignored. Also, when the type `T` has a `toJSON()` method, its return type
458
+ * would be generated instead.
459
+ *
460
+ * @template T Type of data to generate
461
+ * @param generator Random data generator
462
+ * @return Randomly generated data
463
+ *
464
+ * @author Jeongho Nam - https://github.com/samchon
465
+ */
466
+ export declare function random<T>(generator?: Partial<IRandomGenerator>): Resolved<T>;
467
+ /**
468
+ * Creates a reusable {@link assert} function.
469
+ *
470
+ * @danger You must configure the generic argument `T`
471
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
472
+ * @returns Nothing until you configure the generic argument `T`
473
+ * @throws compile error
474
+ *
475
+ * @author Jeongho Nam - https://github.com/samchon
476
+ */
477
+ export declare function createAssert(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;
478
+ /**
479
+ * Creates a reusable {@link assert} function.
480
+ *
481
+ * @template T Type of the input value
482
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
483
+ * @returns A reusable `assert` function
484
+ *
485
+ * @author Jeongho Nam - https://github.com/samchon
486
+ */
487
+ export declare function createAssert<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;
488
+ /**
489
+ * Creates a reusable {@link assertGuard} function.
490
+ *
491
+ * Note that, you've to declare the variable type of the factory function caller
492
+ * like below. If you don't declare the variable type, compilation error be thrown.
493
+ * This is the special rule of the TypeScript compiler.
494
+ *
495
+ * ```typescript
496
+ * // MUST DECLARE THE VARIABLE TYPE
497
+ * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();
498
+ *
499
+ * // IF NOT, COMPILATION ERROR BE OCCURRED
500
+ * const func = typia.createAssertGuard<number>();
501
+ * ```
502
+ *
503
+ * > *Assertions require every name in the call target to be declared with an*
504
+ * > *explicit type annotation.*
505
+ *
506
+ * @danger You must configure the generic argument `T`
507
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
508
+ * @returns Nothing until you configure the generic argument `T`
509
+ * @throws compile error
510
+ *
511
+ * @author Jeongho Nam - https://github.com/samchon
512
+ */
513
+ export declare function createAssertGuard(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;
514
+ /**
515
+ * Creates a reusable {@link assertGuard} function.
516
+ *
517
+ * Note that, you've to declare the variable type of the factory function caller
518
+ * like below. If you don't declare the variable type, compilation error be thrown.
519
+ * This is the special rule of the TypeScript compiler.
520
+ *
521
+ * ```typescript
522
+ * // MUST DECLARE THE VARIABLE TYPE
523
+ * const func: typia.AssertionGuard<number> = typia.createAssertGuard<number>();
524
+ *
525
+ * // IF NOT, COMPILATION ERROR BE OCCURRED
526
+ * const func = typia.createAssertGuard<number>();
527
+ * ```
528
+ *
529
+ * > *Assertions require every name in the call target to be declared with an*
530
+ * > *explicit type annotation.*
531
+ *
532
+ * @returns Nothing until you configure the generic argument `T`
533
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
534
+ * @throws compile error
535
+ *
536
+ * @author Jeongho Nam - https://github.com/samchon
537
+ */
538
+ export declare function createAssertGuard<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;
539
+ /**
540
+ * Creates a reusable {@link is} function.
541
+ *
542
+ * @danger You must configure the generic argument `T`
543
+ * @returns Nothing until you configure the generic argument `T`
544
+ * @throws compile error
545
+ *
546
+ * @author Jeongho Nam - https://github.com/samchon
547
+ */
548
+ export declare function createIs(): never;
549
+ /**
550
+ * Creates a reusable {@link is} function.
551
+ *
552
+ * @template T Type of the input value
553
+ * @returns A reusable `is` function
554
+ *
555
+ * @author Jeongho Nam - https://github.com/samchon
556
+ */
557
+ export declare function createIs<T>(): (input: unknown) => input is T;
558
+ /**
559
+ * Creates a reusable {@link validate} function.
560
+ *
561
+ * @danger You must configure the generic argument `T`
562
+ * @returns Nothing until you configure the generic argument `T`
563
+ * @throws compile error
564
+ *
565
+ * @author Jeongho Nam - https://github.com/samchon
566
+ */
567
+ export declare function createValidate(): never;
568
+ /**
569
+ * Creates a reusable {@link validate} function.
570
+ *
571
+ * @template T Type of the input value
572
+ * @returns A reusable `validate` function
573
+ *
574
+ * @author Jeongho Nam - https://github.com/samchon
575
+ */
576
+ export declare function createValidate<T>(): (input: unknown) => IValidation<T>;
577
+ /**
578
+ * Creates a reusable {@link assertEquals} function.
579
+ *
580
+ * @danger You must configure the generic argument `T`
581
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
582
+ * @returns Nothing until you configure the generic argument `T`
583
+ * @throws compile error
584
+ *
585
+ * @author Jeongho Nam - https://github.com/samchon
586
+ */
587
+ export declare function createAssertEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;
588
+ /**
589
+ * Creates a reusable {@link assertEquals} function.
590
+ *
591
+ * @template T Type of the input value
592
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
593
+ * @returns A reusable `assertEquals` function
594
+ *
595
+ * @author Jeongho Nam - https://github.com/samchon
596
+ */
597
+ export declare function createAssertEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => T;
598
+ /**
599
+ * Creates a reusable {@link assertGuardEquals} function.
600
+ *
601
+ * Note that, you've to declare the variable type of the factory function caller
602
+ * like below. If you don't declare the variable type, compilation error be thrown.
603
+ * This is the special rule of the TypeScript compiler.
604
+ *
605
+ * ```typescript
606
+ * // MUST DECLARE THE VARIABLE TYPE
607
+ * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();
608
+ *
609
+ * // IF NOT, COMPILATION ERROR BE OCCURRED
610
+ * const func = typia.createAssertGuardEquals<number>();
611
+ * ```
612
+ *
613
+ * > *Assertions require every name in the call target to be declared with an*
614
+ * > *explicit type annotation.*
615
+ *
616
+ * @danger You must configure the generic argument `T`
617
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
618
+ * @returns Nothing until you configure the generic argument `T`
619
+ * @throws compile error
620
+ *
621
+ * @author Jeongho Nam - https://github.com/samchon
622
+ */
623
+ export declare function createAssertGuardEquals(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): never;
624
+ /**
625
+ * Creates a reusable {@link assertGuardEquals} function.
626
+ *
627
+ * Note that, you've to declare the variable type of the factory function caller
628
+ * like below. If you don't declare the variable type, compilation error be thrown.
629
+ * This is the special rule of the TypeScript compiler.
630
+ *
631
+ * ```typescript
632
+ * // MUST DECLARE THE VARIABLE TYPE
633
+ * const func: typia.AssertionGuard<number> = typia.createAssertGuardEquals<number>();
634
+ *
635
+ * // IF NOT, COMPILATION ERROR BE OCCURRED
636
+ * const func = typia.createAssertGuardEquals<number>();
637
+ * ```
638
+ *
639
+ * > *Assertions require every name in the call target to be declared with an*
640
+ * > *explicit type annotation.*
641
+ *
642
+ * @param errorFactory Custom error factory. Default is `TypeGuardError`
643
+ * @returns Nothing until you configure the generic argument `T`
644
+ * @throws compile error
645
+ *
646
+ * @author Jeongho Nam - https://github.com/samchon
647
+ */
648
+ export declare function createAssertGuardEquals<T>(errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error)): (input: unknown) => AssertionGuard<T>;
649
+ /**
650
+ * Creates a reusable {@link equals} function.
651
+ *
652
+ * @danger You must configure the generic argument `T`
653
+ * @returns Nothing until you configure the generic argument `T`
654
+ * @throws compile error
655
+ *
656
+ * @author Jeongho Nam - https://github.com/samchon
657
+ */
658
+ export declare function createEquals(): never;
659
+ /**
660
+ * Creates a reusable {@link equals} function.
661
+ *
662
+ * @template T Type of the input value
663
+ * @returns A reusable `equals` function
664
+ *
665
+ * @author Jeongho Nam - https://github.com/samchon
666
+ */
667
+ export declare function createEquals<T>(): (input: unknown) => input is T;
668
+ /**
669
+ * Creates a reusable {@link validateEquals} function.
670
+ *
671
+ * @danger You must configure the generic argument `T`
672
+ * @returns Nothing until you configure the generic argument `T`
673
+ * @throws compile error
674
+ *
675
+ * @author Jeongho Nam - https://github.com/samchon
676
+ */
677
+ export declare function createValidateEquals(): never;
678
+ /**
679
+ * Creates a reusable {@link validateEquals} function.
680
+ *
681
+ * @template T Type of the input value
682
+ * @returns A reusable `validateEquals` function
683
+ *
684
+ * @author Jeongho Nam - https://github.com/samchon
685
+ */
686
+ export declare function createValidateEquals<T>(): (input: unknown) => IValidation<T>;
687
+ /**
688
+ * Creates a reusable {@link random} function.
689
+ *
690
+ * @danger You must configure the generic argument `T`
691
+ * @param generator Random data generator
692
+ * @returns Nothing until you configure the generic argument `T`
693
+ * @throws compile error
694
+ *
695
+ * @author Jeongho Nam - https://github.com/samchon
696
+ */
697
+ export declare function createRandom(generator?: Partial<IRandomGenerator>): never;
698
+ /**
699
+ * Creates a reusable {@link random} function.
700
+ *
701
+ * @template T Type of the input value
702
+ * @param generator Random data generator
703
+ * @returns A reusable `random` function
704
+ *
705
+ * @author Jeongho Nam - https://github.com/samchon
706
+ */
707
+ export declare function createRandom<T>(generator?: Partial<IRandomGenerator>): () => Resolved<T>;