import { CompoundEntityRef, Entity } from '@backstage/catalog-model';
import { EntityRefPresentationSnapshot } from './EntityPresentationApi';
/**
 * Returns information about how to represent an entity in the interface.
 *
 * @public
 * @param entityOrRef - The entity to represent, or an entity ref to it. If you
 *   pass in an entity, it is assumed that it is NOT a partial one - i.e. only
 *   pass in an entity if you know that it was fetched in such a way that it
 *   contains all of the fields that the representation renderer needs.
 * @param context - Optional context that control details of the presentation.
 * @returns A snapshot of the entity presentation, which may change over time
 */
export declare function useEntityPresentation(entityOrRef: Entity | CompoundEntityRef | string, context?: {
    defaultKind?: string;
    defaultNamespace?: string;
}): EntityRefPresentationSnapshot;
