import Bicoder from "./Bicoder"; // deno-lint-ignore no-explicit-any type ExplicitAny = any; export type AnyBicoder = Bicoder; type BicoderTargetsImpl = ( T extends [Bicoder, ...infer Rest] ? [First, ...BicoderTargetsImpl] : [] ); export type BicoderTargets = BicoderTargetsImpl; export type TypeOf = B extends Bicoder ? T : never; export type UnionOf = ( T extends [infer First, ...infer Rest] ? First | UnionOf : never ); export type Primitive = | undefined | null | boolean | number | string;