export declare const flow: (...fns: Array<(x: T) => T | Promise>) => (x: T) => Promise;