import { InquiryOptions } from './interfaces'; /** * This is an internal function (clients don't see this). Require `null` explicitly * to avoid bugs, where someone might add a field but forget to include it in callers. */ type ReplaceUndefinedWithNull = T extends undefined ? null : T; type ExplicitlyNull = { [P in keyof T]-?: ReplaceUndefinedWithNull; }; /** * Allows the Persona JS SDK iframe to receive events from the Persona web flow. * * You must call this method if building your own iframe. */ export declare function setupEvents( /** * A unique string used for message passing between the JS SDK iframe and the Persona web app. */ containerId: string, { onLoad, onReady, onComplete, onEvent, onCancel, onError, templateId, templateVersionId, host, eventsAllowlist, }: ExplicitlyNull>): () => void; export {};