import type { EventHub } from '../common'; import type { ImplementModuleDefinition, ModuleDefinition } from '../common/types'; import type { Events } from './events'; import type { PartialDeep } from 'type-fest'; export type DigitalIdRecipeOptions = { provider: { name: 'trinsic'; } | { name: 'mattr'; sdkVersion: string; products: string[]; includeRetryToken: boolean; includeReturnBrowser: boolean; debug?: boolean; redirectUrls?: { success?: string; failure?: string; }; }; }; interface IDigitalIdModule extends ModuleDefinition { moduleName: 'digital-id'; category: 'component'; moduleContext: { mount(domElementOrSelector: string | HTMLElement): void; }; moduleEvents: Events; moduleOptions: PartialDeep; recipeConfiguration: { digitalId: DigitalIdRecipeOptions; }; vendorName: 'trinsic' | 'mattr'; wrapperOptions: { eventHub: EventHub; mountElement: HTMLElement; }; wrapperLoadType: 'async'; } export type DigitalIdModule = ImplementModuleDefinition; export {}; //# sourceMappingURL=definition.d.ts.map