import { type TSchema } from '../../types/schema.mjs'; import { type TLiteral, type TLiteralValue } from '../../types/literal.mjs'; import { type TTemplateLiteral } from '../../types/template_literal.mjs'; import { type TUnion } from '../../types/union.mjs'; import { type TMappingType, type TMappingFunc } from './mapping.mjs'; import { type TFromLiteral } from './from_literal.mjs'; import { type TFromTemplateLiteral } from './from_template_literal.mjs'; import { type TFromUnion } from './from_union.mjs'; export type TFromType = (Type extends TLiteral ? TFromLiteral : Type extends TTemplateLiteral ? TFromTemplateLiteral : Type extends TUnion ? TFromUnion : Type); export declare function FromType(mapping: TMappingFunc, type: TSchema): TSchema;