import React from "react"; export type OutputChangeHandler = (output: O) => void; export type EventTriggerHandler = (eventName: string) => void; type Off = () => void; interface EventHandlerMap { moduleOutputChange: OutputChangeHandler; moduleEventTriggered: EventTriggerHandler; } export interface AppViewInstanceOptions { moduleInputs?: I; appDsl?: any; moduleDslMap?: any; baseUrl?: string; } export interface LowcoderAppViewProps extends AppViewInstanceOptions { appId: string; className?: string; onModuleOutputChange?: OutputChangeHandler; onModuleEventTriggered?: EventTriggerHandler; } export interface AppViewInstance { on>(event: K, handler?: EventHandlerMap[K]): Off; setModuleInputs(inputs: I): void; invokeMethod(methodName: string, params?: any[]): void; } export declare const LowcoderAppView: React.ForwardRefExoticComponent< LowcoderAppViewProps & React.RefAttributes | undefined> >; export declare function bootstrapAppAt( appId: string, node: Element | null, options: AppViewInstanceOptions ): Promise>;