import { SvelteComponentTyped } from "svelte"; import { Environment } from '../internal/environment'; import type { VouchEmbedType } from '../types'; declare const __propDef: { props: { /** * Vouch hash id * @default */ vouchid?: string; /** * Vouch embed api key * @default */ apikey?: string; /** * Show video captions * @default false */ showcaption?: boolean; /** * Show vouch watermark (Pro) * @default true */ showwatermark?: boolean; /** * Autoplay first video * @default false */ autoplay?: boolean; /** * Autoplay videos after the first */ autoplaynext?: boolean; /** * Ordinal questions of the vouch to be inlucded, e.g. `1,3,4` or `1-3,6,8` * @default '' */ questions?: string; /** * Customised display name overwrites, contact name and company name are ignored when this is provided * @default '' */ displayname?: string; /** * * TODO: Allow embed to customise `controls` prop of vouch-media-ply, see * https://designsystem.vouchfor.com/?path=/docs/vouchfor-uikit_ds-components-mediaplyr--video * * @default '' */ controls?: string; /** * Whether the media player preloads the video or not * * @default auto */ preload?: 'auto' | 'none'; /** * (Internal) * Preview mode won't trigger tracking mainly for Vouch admin portal * @default false */ preview?: boolean; /** * (Internal) * Due to VouchEmbedButton reuses VouchEmbedDialogue and we need to send * different embed type for tracking, so ths i * @default 'dialogue' */ type?: VouchEmbedType; /** * (Internal) * Environment that we should be fetching from for all API requests * * @default prod */ env?: Environment; /** * Callback to execute when the close button is clicked. If undefined the close button is not shown * * @default undefined */ onclose: svelte.JSX.MouseEventHandler; }; events: { [evt: string]: CustomEvent; }; slots: {}; }; export type VouchEmbedDialogueProps = typeof __propDef.props; export type VouchEmbedDialogueEvents = typeof __propDef.events; export type VouchEmbedDialogueSlots = typeof __propDef.slots; export default class VouchEmbedDialogue extends SvelteComponentTyped { } export {};