/**
 * Filters items from an iterable
 *
 * @param source the source iterable to filter
 * @param predicate the predicate to apply to filter items
 */
export declare function filter<T>(predicate: (t: T) => Promise<boolean> | boolean): (source: AsyncIterable<T>) => AsyncGenerator<T, void, unknown>;
