UNPKG

@gobistories/gobi-web-integration

Version:

This library will let you put your Gobi stories on your site.

18 lines (17 loc) 885 B
import { BubblesApp as Bubbles, renderBubbles } from './components/Bubbles'; import { PlayerApp as Player } from './components/Player'; import { PopupsApp as Popups, renderPopups, openPopup } from './components/Popups'; import { CardsApp as Cards, renderCards } from './components/Cards'; import { Options } from './types/options.types'; import { DiscoverController } from './utils/discover'; import { ApiClient } from './utils/api'; export { Bubbles, Player, Popups, Cards, renderBubbles, renderPopups, renderCards, openPopup }; declare global { const BUILD_HASH: string; } interface DiscoverOptions extends Partial<Options> { observerDepth?: number; shadowSelector?: string; } export declare function discover(options?: DiscoverOptions, callback?: (controller: DiscoverController) => void): void; export declare function api(apiKey: string, baseUrl?: string): ApiClient;