import { CompoundEntityRef, Entity } from '@backstage/catalog-model';
import { EntityListContextProps } from '@backstage/plugin-catalog-react';
import { TableColumn } from '@backstage/core-components';
/** @public */
export interface CatalogTableRow {
    entity: Entity;
    resolved: {
        name: string;
        entityRef: string;
        partOfSystemRelationTitle?: string;
        partOfSystemRelations: CompoundEntityRef[];
        ownedByRelationsTitle?: string;
        ownedByRelations: CompoundEntityRef[];
    };
}
/**
 * Typed columns function to dynamically render columns based on entity list context.
 *
 * @public
 */
export type CatalogTableColumnsFunc = (entityListContext: EntityListContextProps) => TableColumn<CatalogTableRow>[];
