import { IHandle } from '@feidao-factory/core/on'; import { IActions, IEvents, IFeidaoAiBrowserComponent, IFeidaoAiBrowserPage } from './interfaces'; export default function init(data: any, actions: IActions, events: IEvents, init_events?: (emit: (event: string, ...args: any[]) => Promise | undefined) => (node: HTMLElement | DocumentFragment) => IHandle[]): IFeidaoAiBrowserComponent | IFeidaoAiBrowserPage;