import { BaseError } from "./BaseError";
/**
 * Indicates that an entity does not exist.
 */
export declare class NotFoundError<T = NotFoundError.References> extends BaseError {
    readonly references?: T | undefined;
    constructor(message: string, references?: T | undefined);
    /**
     * Helper that creates new error with formatted message that use entity name and stringified references
     */
    static entity<T>(name: string, references?: T): NotFoundError<T>;
}
export declare namespace NotFoundError {
    interface References {
        [key: string]: unknown;
    }
}
