import { GenEnv } from "./env"; import { Type, FunctionType, ObjectType, Parameter } from "./types"; import * as types from "./types"; export declare function functionParamsDef(env: GenEnv, params: Parameter[]): void; export declare function unionWith(t: Type, ...ts: Type[]): Type; export declare const undefinedType: Type; export declare const nullType: Type; export declare function functionReturnDef(env: GenEnv, type: types.ReturnType | undefined): void; export declare function functionDef(env: GenEnv, item: FunctionType): void; export declare function objectDef(env: GenEnv, item: ObjectType): void; export declare function typeDef(env: GenEnv, item: Type, addParens?: boolean): void;