export interface ProgressCapableExtra { _meta?: { progressToken?: string | number; }; sendNotification: (notification: { method: "notifications/progress"; params: { progressToken: string | number; progress: number; total?: number; message?: string; }; }) => Promise; } /** * Build a fire-and-forget `(done, total)` reporter from an MCP request `extra`. * When the client supplied a progressToken, each call sends one * `notifications/progress`; otherwise the reporter does nothing. A rejected * send is swallowed so a broken notification channel cannot abort the ingest. */ export declare function makeEmbedProgressReporter(extra: ProgressCapableExtra): (done: number, total: number) => void; //# sourceMappingURL=embed-progress-reporter.d.ts.map