@venly/connect
Version:
Venly Connect SDK
12 lines (11 loc) • 604 B
TypeScript
import { EventTypes } from '../types/EventTypes';
import Popup, { PopupOptions } from './Popup';
import { PopupActions } from './PopupActions';
import { PopupResult } from './PopupResult';
export declare class GeneralPopup extends Popup {
static openNewPopup(action: PopupActions, bearerTokenProvider: () => string, data?: any, options?: PopupOptions): Promise<PopupResult>;
sendData(action: string, data: any): Promise<PopupResult>;
protected sendDataToPopup(action: string, data: any): () => void;
protected finishedEventType: EventTypes;
protected sendDataEventType: EventTypes;
}