import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { ServerContext } from "../context.js"; /** * Starts a background poller that detects session/resource changes and emits * MCP `notifications/resources/updated` notifications. The poller activates * when the first subscription arrives and stops when all subscriptions clear. */ export declare function enableResourceSubscriptions(server: McpServer, ctx: ServerContext, pollIntervalMs?: number): void; //# sourceMappingURL=subscriptions.d.ts.map