export interface VouchEmbedPopover { vouchid: string; apikey: string; showname?: boolean; showlogo?: boolean; showcaption?: boolean; showcontrol?: boolean; showwatermark?: boolean; answeronly?: boolean; delay?: number; mobile?: boolean; autoplay?: boolean; position?: string; minimized?: boolean; questions?: string; orientation?: string; displayname?: string; fitcover?: boolean; controls?: string; } declare global { // HTML interface HTMLElementTagNameMap { 'vouch-embed-popover': VouchEmbedPopover; } // React namespace JSX { interface IntrinsicElements { 'vouch-embed-popover': VouchEmbedPopover; } } } // Preact declare namespace preact.JSX { interface IntrinsicElements { 'vouch-embed-popover': VouchEmbedPopover; } }