import type { FeatureSource } from "../../data/FeatureSource.js";
import type { QueryError } from "../query/QueryError.js";
/**
 * An error that is thrown when a search operation fails for one or more feature
 * sources.
 */
export declare class SearchError extends Error {
    /**
     * Maps individual feature sources to an error that occurred for that
     * source.
     */
    readonly errors: Map<FeatureSource, Error>;
    /**
     * Initializes a new instance of the {@link SearchError} class.
     *
     * @param errors A mapping of feature sources to errors.
     * @param message An optional error message.
     * @param args Values for placeholders in the error message.
     */
    constructor(errors: Iterable<[FeatureSource | FeatureSource[], Error] | SearchError | QueryError>, message?: string, ...args: unknown[]);
}
