import type Iterator from '../FSIterator.js'; import type { Entry } from '../types.js'; export type Callback = (error?: Error, keep?: boolean) => void; export default function filter(iterator: Iterator, entry: Entry, callback: Callback): void;