import { Plugin } from '../../core/plugin'; import { InAppEvents, InboxEvents } from './events'; import { type GistConfig, type ColorScheme } from 'customerio-gist-web'; import type { InboxAPI, InboxMessage } from './inbox_messages'; export { InAppEvents, InboxEvents }; export type { InboxAPI, InboxMessage, ColorScheme }; export type InAppPluginSettings = { siteId?: string; events?: EventListenerOrEventListenerObject | null; _env?: GistConfig['env']; _logging?: GistConfig['logging']; anonymousInApp?: boolean; enabled?: boolean; /** * Set by a host that only places embedded messages — a landing-page snippet, * typically. The SDK then renders the embeds declared on the page and starts * none of the delivery machinery: no user queue, SSE, guest session or inbox. * Leave unset for a workspace that also receives in-app messages, so both * work on the same page. */ embedOnly?: boolean; /** * Controls the color scheme for in-app messages. * - `'default'` — always use light mode * - `'system'` — follow the user's OS-level color scheme preference * - `'auto'` — detect the color scheme from the page and react to live changes * * Defaults to `'default'` (light) when not specified. */ colorScheme?: GistConfig['colorScheme']; }; export declare function InAppPlugin(settings: InAppPluginSettings): Plugin; //# sourceMappingURL=index.d.ts.map