import type { FeatureSource } from "../../data/FeatureSource.js";
/**
 * An error that is thrown when an identify operation fails for one or more
 * feature sources.
 */
export declare class IdentifyError 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 IdentifyError} class.
     *
     * @param errors A mapping of feature sources to errors.
     * @param message An optional error message.
     * @param args Values for placeholders in the message.
     */
    constructor(errors: Iterable<[FeatureSource, Error]>, message?: string, ...args: unknown[]);
    constructor(errors: Iterable<[FeatureSource[], Error]>, message?: string, ...args: unknown[]);
}
