export default function compose(...fns: any[]): (Component: T) => T;