import type {ImmutableTree} from './types'; export default function findAll( tree: ImmutableTree, key: K, cmp: (a: K, b: T) => number, ): Generator;