export declare function flow(f: (x: T1) => T2, g: (x: T2) => R): (x: T1) => R;