export declare function compose(fn?: (x: T) => T, ...rest: ((x: T) => T)[]): (x: T) => T;