export function sendEvent(event: string, payload?: any): Promise export function openStory(storyId: string): void