export declare function isIterator(candidate: any): candidate is Iterator<any>;
export declare function isIterable(candidate: any): candidate is Iterable<any>;
export declare function toIterator<T>(collection: Iterator<T> | Iterable<T>): Iterator<T>;