Idp: {
    createSocialIdentityProvider(
        providerType: string,
        providerId: string,
        providerData: SocialIdpSkeleton,
    ): Promise<SocialIdpSkeleton>;
    deleteSocialIdentityProvider(
        providerId: string,
    ): Promise<SocialIdpSkeleton>;
    deleteSocialIdentityProviders(): Promise<SocialIdpSkeleton[]>;
    deleteSocialProvider(providerId: string): Promise<SocialIdpSkeleton>;
    exportSocialIdentityProvider(
        providerId: string,
    ): Promise<SocialProviderExportInterface>;
    exportSocialIdentityProviders(
        options?: SocialIdentityProviderExportOptions,
    ): Promise<SocialProviderExportInterface>;
    exportSocialProvider(
        providerId: string,
    ): Promise<SocialProviderExportInterface>;
    exportSocialProviders(): Promise<SocialProviderExportInterface>;
    getSocialIdentityProviders(): Promise<SocialIdpSkeleton[]>;
    getSocialProvider(providerId: string): Promise<SocialIdpSkeleton>;
    importFirstSocialIdentityProvider(
        importData: SocialProviderExportInterface,
        options: SocialIdentityProviderImportOptions,
    ): Promise<SocialIdpSkeleton>;
    importFirstSocialProvider(
        importData: SocialProviderExportInterface,
    ): Promise<boolean>;
    importSocialIdentityProvider(
        providerId: string,
        importData: SocialProviderExportInterface,
        options: SocialIdentityProviderImportOptions,
    ): Promise<SocialIdpSkeleton>;
    importSocialIdentityProviders(
        importData: SocialProviderExportInterface,
        options: SocialIdentityProviderImportOptions,
    ): Promise<SocialIdpSkeleton[]>;
    importSocialProvider(
        providerId: string,
        importData: SocialProviderExportInterface,
    ): Promise<boolean>;
    importSocialProviders(
        importData: SocialProviderExportInterface,
    ): Promise<boolean>;
    putProviderByTypeAndId(
        providerType: string,
        providerId: string,
        providerData: SocialIdpSkeleton,
    ): Promise<SocialIdpSkeleton>;
    readSocialIdentityProvider(providerId: string): Promise<SocialIdpSkeleton>;
    readSocialIdentityProviders(): Promise<SocialIdpSkeleton[]>;
    updateSocialIdentityProvider(
        providerType: string,
        providerId: string,
        providerData: SocialIdpSkeleton,
    ): Promise<SocialIdpSkeleton>;
}

Type declaration