import { Midwinter } from 'midwinter'; import { a as AnyMeta } from './util-CHs1TI3T.js'; type TypeKey = `~T${T}`; type StripTypeKey = T extends `~T${infer $Inner}` ? $Inner : T; type TypeOf = { __typeof: T; }; type InferTypeof = T extends TypeOf ? T["__typeof"] : Default; type Typify = { [Key in keyof T & string as TypeKey]: TypeOf; }; type UnTypify = { [Key in keyof T as StripTypeKey]: T[Key] extends TypeOf ? T[Key]["__typeof"] : T[Key]; }; /** Append types to the meta object */ declare const types: (input?: T) => Midwinter<{}, Typify, {}>; export { type InferTypeof, type StripTypeKey, type TypeKey, type TypeOf, type Typify, type UnTypify, types };