/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { TrackingEvents } from "./components/misc/tracking-events"; export { TrackingEvents } from "./components/misc/tracking-events"; export namespace Components { interface MmInstallModal { /** * The QR code link */ "link": string; "preferDesktop": boolean; "sdkVersion"?: string; } interface MmPendingModal { /** * The QR code link */ "displayOTP"?: boolean; "otpCode"?: string; "sdkVersion"?: string; } interface MmSelectModal { /** * The QR code link */ "link": string; "preferDesktop": boolean; "sdkVersion"?: string; } } export interface MmInstallModalCustomEvent extends CustomEvent { detail: T; target: HTMLMmInstallModalElement; } export interface MmPendingModalCustomEvent extends CustomEvent { detail: T; target: HTMLMmPendingModalElement; } export interface MmSelectModalCustomEvent extends CustomEvent { detail: T; target: HTMLMmSelectModalElement; } declare global { interface HTMLMmInstallModalElementEventMap { "close": { shouldTerminate?: boolean }; "startDesktopOnboarding": any; "trackAnalytics": { event: TrackingEvents, params?: Record }; } interface HTMLMmInstallModalElement extends Components.MmInstallModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLMmInstallModalElement, ev: MmInstallModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMmInstallModalElement, ev: MmInstallModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLMmInstallModalElement: { prototype: HTMLMmInstallModalElement; new (): HTMLMmInstallModalElement; }; interface HTMLMmPendingModalElementEventMap { "close": any; "disconnect": any; "updateOTPValue": { otpValue: string }; } interface HTMLMmPendingModalElement extends Components.MmPendingModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLMmPendingModalElement, ev: MmPendingModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMmPendingModalElement, ev: MmPendingModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLMmPendingModalElement: { prototype: HTMLMmPendingModalElement; new (): HTMLMmPendingModalElement; }; interface HTMLMmSelectModalElementEventMap { "close": { shouldTerminate?: boolean }; "connectWithExtension": any; } interface HTMLMmSelectModalElement extends Components.MmSelectModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLMmSelectModalElement, ev: MmSelectModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMmSelectModalElement, ev: MmSelectModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLMmSelectModalElement: { prototype: HTMLMmSelectModalElement; new (): HTMLMmSelectModalElement; }; interface HTMLElementTagNameMap { "mm-install-modal": HTMLMmInstallModalElement; "mm-pending-modal": HTMLMmPendingModalElement; "mm-select-modal": HTMLMmSelectModalElement; } } declare namespace LocalJSX { interface MmInstallModal { /** * The QR code link */ "link"?: string; "onClose"?: (event: MmInstallModalCustomEvent<{ shouldTerminate?: boolean }>) => void; "onStartDesktopOnboarding"?: (event: MmInstallModalCustomEvent) => void; "onTrackAnalytics"?: (event: MmInstallModalCustomEvent<{ event: TrackingEvents, params?: Record }>) => void; "preferDesktop"?: boolean; "sdkVersion"?: string; } interface MmPendingModal { /** * The QR code link */ "displayOTP"?: boolean; "onClose"?: (event: MmPendingModalCustomEvent) => void; "onDisconnect"?: (event: MmPendingModalCustomEvent) => void; "onUpdateOTPValue"?: (event: MmPendingModalCustomEvent<{ otpValue: string }>) => void; "otpCode"?: string; "sdkVersion"?: string; } interface MmSelectModal { /** * The QR code link */ "link"?: string; "onClose"?: (event: MmSelectModalCustomEvent<{ shouldTerminate?: boolean }>) => void; "onConnectWithExtension"?: (event: MmSelectModalCustomEvent) => void; "preferDesktop"?: boolean; "sdkVersion"?: string; } interface IntrinsicElements { "mm-install-modal": MmInstallModal; "mm-pending-modal": MmPendingModal; "mm-select-modal": MmSelectModal; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "mm-install-modal": LocalJSX.MmInstallModal & JSXBase.HTMLAttributes; "mm-pending-modal": LocalJSX.MmPendingModal & JSXBase.HTMLAttributes; "mm-select-modal": LocalJSX.MmSelectModal & JSXBase.HTMLAttributes; } } }