import { IMetadataSchemaCollection, IMetadataSchemaUnit, } from "@typia/interface"; import { NoTransformConfigurationError } from "./transformers/NoTransformConfigurationError"; /** * Generates metadata schemas for multiple types. * * @danger You must configure the generic argument `Types` */ export function schemas(): never; /** * Generates metadata schemas for multiple types. * * Creates {@link IMetadataSchemaCollection} containing metadata for all types in * the tuple. Collection types (Array, Tuple, Object) are stored in * `components`. Alias types are stored in `aliases`. * * @template Types Tuple of target types * @returns Metadata schema collection */ export function schemas(): IMetadataSchemaCollection; /** @internal */ export function schemas(): never { NoTransformConfigurationError("reflect.schemas"); } /** * Generates metadata schema for a single type. * * @danger You must configure the generic argument `Type` */ export function schema(): never; /** * Generates metadata schema for a single type. * * Creates {@link IMetadataSchemaUnit} containing metadata for the type. * * @template Type Target type * @returns Metadata schema unit */ export function schema(): IMetadataSchemaUnit; /** @internal */ export function schema(): never { NoTransformConfigurationError("reflect.schema"); } /** * Gets the runtime type name of type `T`. * * @danger You must configure the generic argument `T` */ export function name(): never; /** * Gets the runtime type name of type `T`. * * Returns a string representation of the type name. * * @template T Target type * @template Regular If `true`, returns regular (normalized) name * @returns Type name string */ export function name(): string; /** @internal */ export function name(): never { NoTransformConfigurationError("reflect.name"); }