import { T as ToolHost } from '../tool-host-BqJRPr_T.js'; import { HumanPlusEventStore, HumanPlusActor } from '../human-plus/index.js'; import '../types-ITRQFAir.js'; type TuiActionPolicy = "observe" | "execute" | "propose" | "confirm" | "human-only"; interface TuiSurfaceCommandLike { name: string; description?: string; policy?: TuiActionPolicy; inputSchema?: Record; invoke(input?: Record): unknown | Promise; } interface TuiSurfaceLike { id: string; kind: string; label?: string; read(): unknown; commands?: TuiSurfaceCommandLike[]; } interface TuiSurfaceRegistryLike { list(): TuiSurfaceLike[]; get(id: string): TuiSurfaceLike | undefined; } interface TuiBridgeOptions { registry: TuiSurfaceRegistryLike; eventStore: HumanPlusEventStore; appId: string; sessionId?: string; actor?: HumanPlusActor; } type PendingAction = { id: string; surfaceId: string; command: string; input: Record; actor: HumanPlusActor; }; declare function registerTuiBridge(host: ToolHost, options: TuiBridgeOptions): { id: string; title: string; pending: () => PendingAction[]; dispose: () => void; }; export { type TuiActionPolicy, type TuiBridgeOptions, type TuiSurfaceCommandLike, type TuiSurfaceLike, type TuiSurfaceRegistryLike, registerTuiBridge };