export declare const applyTo: (x: A, fn: (a: A) => B) => B;