import type { IntersectUnion } from "./intersectUnion"; export declare type UnionLast = IntersectUnion void : never> extends (x: infer LAST) => void ? LAST : never;