customerio-gist-web
Version:
Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io
21 lines (20 loc) • 818 B
TypeScript
import type { GistEnv } from '../types';
export interface Settings {
RENDERER_HOST: Record<GistEnv, string>;
ENGINE_API_ENDPOINT: Record<GistEnv, string>;
GIST_QUEUE_API_ENDPOINT: Record<GistEnv, string>;
GIST_QUEUE_REALTIME_API_ENDPOINT: Record<GistEnv, string>;
GIST_VIEW_ENDPOINT: Record<GistEnv, string>;
getSdkId: () => string;
useSSE: () => boolean;
setUseSSEFlag: (useSSE: boolean) => void;
removeActiveSSEConnection: () => void;
setActiveSSEConnection: () => void;
hasActiveSSEConnection: () => unknown;
isSSEConnectionManagedBySDK: () => boolean;
getSSEHeartbeat: () => number;
setSSEHeartbeat: (heartbeat: number) => void;
inboxEnabled: () => boolean;
setInboxEnabledFlag: (enabled: boolean) => void;
}
export declare const settings: Settings;