import { IAgentPlugin, IPluginMethodMap, IAgentContext } from '@veramo/core'; import { GeolocationStoreArgs, IGeolocationStore } from '@sphereon/ssi-sdk.geolocation-store'; type DnsLookupFn = (hostname: string) => Promise; declare const anomalyDetectionMethods: Array; /** * {@inheritDoc IAnomalyDetection} */ declare class AnomalyDetection implements IAgentPlugin { readonly schema: any; private readonly db; private readonly dnsLookup?; readonly methods: IAnomalyDetection; constructor(args: { geoIpDB: Uint8Array; dnsLookupCallback?: DnsLookupFn; }); private anomalyDetectionLookupLocation; private resolveDns; } interface IAnomalyDetection extends IPluginMethodMap { anomalyDetectionLookupLocation(args: AnomalyDetectionLookupLocationArgs, context: IRequiredContext): Promise; } type PartialBy = Omit & Partial>; type AnomalyDetectionLookupLocationArgs = PartialBy; type AnomalyDetectionLookupLocationResult = { continent?: string; country?: string; }; type IRequiredContext = IAgentContext; /** * @public */ declare const schema: any; export { AnomalyDetection, type AnomalyDetectionLookupLocationArgs, type AnomalyDetectionLookupLocationResult, type IAnomalyDetection, type IRequiredContext, type PartialBy, anomalyDetectionMethods, schema };