import type { FeatureSource } from "../../data/FeatureSource.js";
/**
 * An error that is thrown when a query operation fails.
 */
export declare class QueryError 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 QueryError} 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] | QueryError>, message?: string, ...args: unknown[]);
}
