import { type ReactNode } from "react"; import type { EngineState, PbuiEngine } from "@go-go-golems/pbui-core"; export declare function PbuiProvider(props: { engine: PbuiEngine; children: ReactNode; }): import("react").JSX.Element; export declare function useEngine(): PbuiEngine; /** subscribe to engine interaction state (hover / accept / menu) */ export declare function useEngineState(): EngineState; /** subscribe to the transcript */ export declare function useTranscript(): import("@go-go-golems/pbui-core").OutputRecord[]; /** Root-surface handlers: clear hover on background moves, background menu * on right-click, dismiss menus on click. Spread onto the app's outermost * element. */ export declare function usePbuiSurface(): { onMouseMove: () => void; onClick: () => void; onContextMenu: (e: React.MouseEvent) => void; };