import { type DataSurfaceRegistry } from '@happyvertical/smrt-ui/data'; import type { ControlInteractionRegistry } from '@happyvertical/smrt-ui/forms'; import type { WebMcpToolSpec } from './webmcp.svelte.js'; export interface RegisterWebMcpUiToolsOptions { controlRegistry: ControlInteractionRegistry; dataSurfaceRegistry: DataSurfaceRegistry; prefix?: string; /** Injectable browser document used by tests and non-window hosts. */ document?: { modelContext?: WebMcpModelContextLike; }; } interface WebMcpModelContextLike { registerTool(tool: WebMcpToolSpec, options?: { signal?: AbortSignal; }): void | Promise; } /** Register the fixed browser-native adapter over mounted UI registries. */ export declare function registerWebMcpUiTools(options: RegisterWebMcpUiToolsOptions): () => void; export {}; //# sourceMappingURL=webmcp-ui.d.ts.map