import { Entity } from '@backstage/catalog-model';
import React from 'react';
import { ApiHolder } from '@backstage/core-plugin-api';
/**
 * Returns true if the given entity has relations to other entities, which
 * don't exist in the catalog
 *
 * @public
 */
export declare function hasRelationWarnings(entity: Entity, context: {
    apis: ApiHolder;
}): Promise<boolean>;
/**
 * Displays a warning alert if the entity has relations to other entities, which
 * don't exist in the catalog
 *
 * @public
 */
export declare function EntityRelationWarning(): React.JSX.Element | null;
