I\'ve this type definition, incomplete at the moment:
export type Type4 = (arg1?: Type2 | Type3, arg2?: Type3) => string | undefined; export default funct