import { Result } from "@webiny/feature/api"; import type { AdminUser } from "../../../features/users/shared/types.js"; import { AdminUsersRepository } from "../../../features/users/shared/abstractions.js"; import { NotAuthorizedError } from "../../../features/users/shared/errors.js"; export interface IGetIdentityProfileErrors { notAuthorized: NotAuthorizedError; } type GetIdentityProfileError = IGetIdentityProfileErrors[keyof IGetIdentityProfileErrors] | AdminUsersRepository.Error; export interface IGetIdentityProfile { execute(identityId: string): Promise>; } export declare const GetIdentityProfileUseCase: import("@webiny/di").Abstraction; export declare namespace GetIdentityProfileUseCase { type Interface = IGetIdentityProfile; type Return = Promise>; type Error = GetIdentityProfileError; } export {};