export type ComposableFun = (arg: A) => A; declare function pipeline(...fns: Array>): (arg: any) => any; export default pipeline;