import { Type } from "@tsed/core"; import { JsonSchema } from "../domain/JsonSchema.js"; import type { CtorToType } from "../domain/types.js"; /** * Create a new model from the given type. * * ```typescript * from(String) * ``` * * * See @@JsonSchema@@ to discover available methods. * * @schemaFunctional */ export declare function from = Type>(): JsonSchema>; export declare function from = Type>(type?: TC): JsonSchema>;