UNPKG

@matatbread/typia

Version:

Superfast runtime validators with only one line

19 lines (18 loc) 611 B
import { ILlmSchema } from "@samchon/openapi"; import ts from "typescript"; import { ITypiaContext } from "../../transformers/ITypiaContext"; export declare namespace LlmModelPredicator { const getConfig: (props: { context: ITypiaContext; method: string; model: ILlmSchema.Model; node: ts.TypeNode | undefined; }) => Partial<ILlmSchema.ModelConfig[ILlmSchema.Model] & { equals: boolean; }> | undefined; const getModel: (props: { checker: ts.TypeChecker; method: string; node: ts.TypeNode | undefined; }) => ILlmSchema.Model; }