/** * types/index.d.ts * Main TypeScript type declarations for euixjs (Full Bundle). */ import { EUIXEngineCore } from './core'; export * from './core'; export * from './plugins'; export * from './prepare'; export interface EUIXGlobalHelper { mount(element: HTMLElement, options?: { props?: Record; state?: Record }): Promise; mountElement(element: HTMLElement, options?: { props?: Record; state?: Record }): Promise; unmount(element: HTMLElement): boolean; scan(root?: Document | HTMLElement): Promise; get(elementOrSelector: HTMLElement | string): any; instances: any[]; } export declare const euix: EUIXGlobalHelper; export class EUIXEngine = Record> extends EUIXEngineCore { static mount = Record>( xmlString: string | HTMLElement, containerSelector?: string | HTMLElement ): EUIXEngine; static mountElement = Record>( element: HTMLElement, options?: { props?: Record; state?: Record } ): Promise>; static unmountElement(element: HTMLElement): boolean; static scan(root?: Document | HTMLElement): Promise; static getEngine(elementOrSelector: HTMLElement | string): EUIXEngine | undefined; static instances: EUIXEngine[]; static elements: WeakMap; } export default EUIXEngine;