import { Type } from '@nestjs/common'; import { DeepPartial } from 'typeorm'; import { CaliobaseAuthProfileEntities } from './auth.module'; import { AbstractOrganizationProfile } from './entities/abstract-organization-profile.entity'; import { AbstractUserProfile } from './entities/abstract-user-profile.entity'; import { Organization } from './entities/organization.entity'; import { User } from './entities/user.entity'; import { SocialProfile } from './social-provider'; export declare abstract class AbstractProfileService { abstract createUserProfile(user: User, profile: DeepPartial): Promise; abstract socialProfileToUserProfile: ((socialAuth: SocialProfile) => Omit) | null; abstract createOrganizationProfile(organization: Organization, profile: DeepPartial): Promise; } export declare function createProfilesService({ UserProfile, OrganizationProfile, socialProfileToUserProfile, }: CaliobaseAuthProfileEntities): Type>;