import { type Intersection, type NonEmptyTuple } from 'ts-type-forge'; import { type AnyType, type Type, type TypeOf } from '../type.mjs'; export declare const intersection: >(types: Types, defaultType: IntersectionType, options?: Partial>) => IntersectionType; type IntersectionType> = Type>; type IntersectionTypeValue> = TsFortressInternal.IntersectionTypeValueImpl; declare namespace TsFortressInternal { export type IntersectionTypeValueImpl> = Intersection>>; type Cast0 = readonly [T] extends readonly [NonEmptyTuple] ? T : never; export {}; } type UnwrapTypeList = TsFortressInternal.UnwrapTypeImpl; declare namespace TsFortressInternal { export type UnwrapTypeImpl = Types extends readonly [] ? readonly [] : Types extends readonly [infer Head, ...infer Tail] ? readonly [TypeOf>, ...UnwrapTypeImpl] : never; type Cast1 = [T] extends [AnyType] ? T : never; export {}; } export {}; //# sourceMappingURL=intersection.d.mts.map