import type { ToolsInput } from '@mastra/core/agent'; import type { IMastraLogger } from '@mastra/core/logger'; import type { ServerNotifier } from '@modelcontextprotocol/server'; interface ActionDependencies { getLogger: () => IMastraLogger; /** Clients receive change events through `subscriptions/listen`; undefined until a transport is serving. */ getNotifier: () => ServerNotifier | undefined; } /** Runtime tool catalogue mutations. Every change is published to listening clients. */ export declare class ServerToolActions { private readonly deps; constructor(deps: ActionDependencies & { addTools: (tools: ToolsInput) => void; removeTools: (toolIds: string[]) => string[]; }); add(tools: ToolsInput): Promise; remove(toolIds: string[]): Promise; notifyListChanged(): Promise; } export declare class ServerResourceActions { private readonly deps; constructor(deps: ActionDependencies); notifyUpdated({ uri }: { uri: string; }): Promise; notifyListChanged(): Promise; } export declare class ServerPromptActions { private readonly deps; constructor(deps: ActionDependencies); notifyListChanged(): Promise; } export {}; //# sourceMappingURL=actions.d.ts.map