export function reduce<A, B>(rfn: Reducer<A, B>, xs: Iterable<A>): B;