UNPKG

@hot-labs/near-connect

Version:

![ezgif-26d74832f88c3c](https://github.com/user-attachments/assets/c4422057-38bb-4cd9-8bd0-568e29f46280)

23 lines (22 loc) 617 B
export declare class Popup<T extends Record<string, any>> { readonly delegate: { onReject: () => void; }; isClosed: boolean; root: HTMLDivElement; state: T; constructor(delegate: { onReject: () => void; }); get dom(): import("../helpers/html").HtmlString; disposables: (() => void)[]; addListener(querySelector: string | Element, event: string, callback: (e: Event) => void): void; handlers(): void; update(state: Partial<T>): void; create({ show }: { show?: boolean; }): void; show(): void; hide(): void; destroy(): void; }