export function reduceRight<A, B>(rfn: Reducer<A, B>, xs: ArrayLike<A>): B;