declare const _errorSymbol: unique symbol; export type TypeError = TMessage & { _: typeof _errorSymbol; }; /** * Remove TypeErrors from a union to allow the actual type to be used. */ export type ExcludeTE = Exclude>; /** * Type assertion helper that removes TypeErrors from a union type. * This is a no-op function that only exists to help TypeScript's type system. * Use this when ExcludeTE type helper alone isn't sufficient to narrow the type. */ export declare function ASSERT_NO_TYPE_ERROR(_: T): asserts _ is ExcludeTE; /** * Type assertion helper that removes TypeErrors from a union type. * This is a unit function that returns it's input and only exists to help TypeScript's type system. */ export declare function EXCLUDE_TYPE_ERROR(_: T): ExcludeTE; export declare type UnionToIntersection = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; export type UnionToOvlds = UnionToIntersection void : never>; export type PopUnion = UnionToOvlds extends (a: infer A) => void ? A : never; export type StringConcatenationOrder = PopUnion extends infer SELF ? SELF extends string ? Exclude extends never ? `${SELF}` : `${StringConcatenationOrder, SEPARATOR>}${SEPARATOR}${SELF}` : never : never; export {}; //# sourceMappingURL=internal.d.ts.map