import { StructType } from './struct.js'; import { Type } from './type.js'; export declare function intersection(type1: Type, type2: Type): Type; export declare function intersection(type1: StructType, type2: StructType): StructType;