/**
 * Helpers for sending MCP progress and logging notifications from tool handlers.
 *
 * Usage: call `sendProgress(extra, ...)` or `sendLog(extra, ...)` from any tool
 * handler that accepts the `extra` (second) parameter.
 */
import type { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js";
import type { ServerRequest, ServerNotification } from "@modelcontextprotocol/sdk/types.js";
type Extra = RequestHandlerExtra<ServerRequest, ServerNotification>;
/**
 * Send a progress notification tied to the current request.
 * No-op if the client didn't provide a progressToken.
 */
export declare function sendProgress(extra: Extra, progress: number, total: number | undefined, message?: string): Promise<void>;
/**
 * Send a logging notification to the client.
 * No-op silently if the send fails.
 */
export declare function sendLog(extra: Extra, level: "debug" | "info" | "warning" | "error", logger: string, data: string): Promise<void>;
export {};
//# sourceMappingURL=progress.d.ts.map