import { WebMCP, WebMCP as WebMCP$1 } from "@w3c/webmcp-polyfill"; //#region src/index.d.ts /** * Installs upstream WebMCP and the temporary declarative tools layer. * Engines missing an API the upstream core calls are left untouched: upstream defines * the document getter before it constructs the context, so a failed construction would * leave `document.modelContext` throwing. * * @deprecated Use `installWebMCP` from `@w3c/webmcp-polyfill`. This wrapper only adds * declarative tools until upstream ships them. */ export declare function installWebMCP(): void; declare global { interface SubmitEvent { readonly agentInvoked?: boolean; respondWith?(agentResponse: Promise): void; } /** Web IDL interface object used for branding and `instanceof`. */ var ModelContext: (Function & { readonly prototype: WebMCP$1.ModelContext; [Symbol.hasInstance](value: Parameters[0]): value is WebMCP$1.ModelContext; }) | undefined; } //#endregion export type { WebMCP }; //# sourceMappingURL=index.d.ts.map