import { ProfileInfo } from '@backstage/core-plugin-api'; /** @public */ export declare const useUserProfile: () => { profile: ProfileInfo; displayName: string; loading: boolean; backstageIdentity?: undefined; } | { profile: ProfileInfo; backstageIdentity: import("@backstage/core-plugin-api").BackstageUserIdentity; displayName: string; loading: false; };