import {default as ObliteratorIterator} from './iterator.js';

type PredicateFunction<T> = (item: T) => boolean;

export default function filter<T>(predicate: PredicateFunction<T>, iterator: Iterator<T>): ObliteratorIterator<T>;
