import type { Transform } from "sucrase"; import { ModelEvent } from "@bokehjs/core/bokeh_events"; import type { StyleSheetLike } from "@bokehjs/core/dom"; import type * as p from "@bokehjs/core/properties"; import type { Attrs } from "@bokehjs/core/types"; import type { LayoutDOM } from "@bokehjs/models/layouts/layout_dom"; import type { UIElement, UIElementView } from "@bokehjs/models/ui/ui_element"; import { HTMLBox, HTMLBoxView } from "./layout"; export declare class DataEvent extends ModelEvent { readonly data: unknown; constructor(data: unknown); protected get event_values(): Attrs; } export declare class ESMEvent extends DataEvent { static from_values(values: object): ESMEvent; } export declare function model_getter(target: ReactiveESMView, name: string): any; export declare function model_setter(target: ReactiveESMView, name: string, value: any): boolean; export declare class ReactiveESMView extends HTMLBoxView { model: ReactiveESM; container: HTMLDivElement; accessed_properties: string[]; accessed_children: string[]; compiled_module: any; model_proxy: any; _changing: boolean; _child_callbacks: Map void)[]>; _child_rendered: Map; _event_handlers: ((data: unknown) => void)[]; _lifecycle_handlers: Map void)[]>; _module_cache: Map; _rendered: boolean; _stale_children: boolean; _mounted: Map>; initialize(): void; lazy_initialize(): Promise; stylesheets(): StyleSheetLike[]; connect_signals(): void; disconnect_signals(): void; _on_mounted(): void; notify_mount(child: string, id: string, remove: boolean): void; on_event(callback: (data: unknown) => void): void; remove_on_event(callback: (data: unknown) => void): boolean; get_child_view(model: UIElement): UIElementView | undefined; get render_fn(): ((props: any) => any) | null; get child_models(): LayoutDOM[]; render_error(error: SyntaxError): void; render(): void; get is_managed(): boolean; compute_layout(): void; protected _update_bbox(): boolean; after_rendered(): void; render_esm(): void; render_children(): void; has_finished(): boolean; invalidate_layout(): void; remove(): void; after_resize(): void; after_layout(): void; protected _lookup_child(child_view: UIElementView): string | null; update_children(): Promise; on_child_render(child: string, callback: (new_views: UIElementView[]) => void): void; remove_on_child_render(child: string, callback?: (new_views: UIElementView[]) => void): void; } export declare const RenderPolicy: import("@bokehjs/core/kinds").Kinds.Enum<"children" | "manual">; export declare namespace ReactiveESM { type Attrs = p.AttrsOf; type Props = HTMLBox.Props & { _defs: p.Property; css_bundle: p.Property; bundle: p.Property; children: p.Property; class_name: p.Property; data: p.Property; dev: p.Property; esm: p.Property; events: p.Property; importmap: p.Property; render_policy: p.Property; }; } export interface ReactiveESM extends ReactiveESM.Attrs { } export declare class ReactiveESM extends HTMLBox { properties: ReactiveESM.Props; compiled: string | null; compiled_module: Promise | null; compile_error: Error | null; model_proxy: any; render_module: Promise | null; sucrase_transforms: Transform[]; _destroyer: any | null; _esm_watchers: any; _event_callbacks: Map<(data: unknown) => void, (data: unknown) => void>; constructor(attrs?: Partial); initialize(): void; connect_signals(): void; watch(view: ReactiveESMView | null, prop: string, cb: any, force?: boolean): void; unwatch(view: ReactiveESMView | null, prop: string, cb: any): boolean; disconnect_watchers(view: ReactiveESMView): void; protected _declare_importmap(): void; protected _run_initializer(initialize: (props: any) => any): void; destroy(): void; init_module(): void; protected _render_code(): string; protected get _render_cache_key(): string; compile(): string | null; recompile(): Promise; static __module__: string; } //# sourceMappingURL=reactive_esm.d.ts.map