import type { EventHub } from '../common'; import type { ImplementModuleDefinition, ModuleDefinition } from '../common/types'; import type { ActivityType } from './constants'; import type { Events } from './events'; interface IDeviceModule extends ModuleDefinition { moduleName: 'device'; category: 'component'; moduleContext: { start: () => void; }; moduleOptions: { sessionId?: string; token?: string; activityType: ActivityType; }; moduleEvents: Events; vendorName: 'sardine' | 'threatmetrix'; wrapperOptions: { eventHub: EventHub; activityType: ActivityType; }; wrapperContext: { set(key: Key, value: SetOptions[Key]): void; }; wrapperLoadType: 'async'; } export type DeviceModule = ImplementModuleDefinition; type SetOptions = { activityType: ActivityType; entityId: string; }; export {}; //# sourceMappingURL=definition.d.ts.map