@paramms/chat-widget 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -45,6 +45,8 @@ export interface MountOptions {
45
45
  export interface WidgetHandle {
46
46
  close(): void;
47
47
  }
48
+ /** Unmount any widget currently mounted on `el`. No-op if nothing is mounted. */
49
+ export declare function unmount(el: Element): void;
48
50
  export declare function mount(opts: MountOptions): WidgetHandle;
49
51
  export { ChatStore } from './store.js';
50
52
  export { ConnectionManager } from './connection.js';