import { TypeBuilder } from './TypeBuilder'; import { Writer } from './Writer'; export declare class IntersectionType extends TypeBuilder { needsParenthesisWhenIndexed: boolean; needsParenthesisInKeyof: boolean; readonly members: MemberType[]; constructor(firstType: MemberType); addType(type: MemberType): this; addTypes(types: MemberType[]): this; write(writer: Writer): void; mapTypes(callback: (type: MemberType) => NewMemberType): IntersectionType; } export declare function intersectionType(types: MemberType[] | MemberType): IntersectionType;