export default function compose(...fn: ((arg: Arg) => Arg)[]): (arg: Arg) => Arg;