interface Methods { [index: string]: Function; } export declare function createIframeModal(frame: HTMLIFrameElement, onClose?: () => Promise): { open: () => void; close: () => Promise; }; export declare function createConnect(options: { methods: Methods; appId: string; container?: string | HTMLElement; onClose?(): Promise; css?: string; }): { remove: () => void; insert: () => void; update: (url: string, query?: { [k: string]: any; }) => Promise; iframe: HTMLIFrameElement; restetContainer: (container: string | HTMLElement) => void; getService(): Promise>>; }; export {};