import { Finder } from "./Finder.js"; /** * Provides convenient access to the stream of search results. */ export declare class ResultSet implements AsyncIterable { #private; /** * Creates a new result set. * @param command The searched command. * @param finder The finder used to perform the search. */ constructor(command: string, finder: Finder); /** * All instances of the searched command. */ get all(): Promise; /** * The first instance of the searched command. */ get first(): Promise; /** * Returns a new iterator that allows iterating the results of this set. * @returns An iterator for the results of this set. */ [Symbol.asyncIterator](): AsyncIterator; } //# sourceMappingURL=ResultSet.d.ts.map