import { EventEmitter } from "node:events"; import { AsyncAuthorizationRequest } from "@auth0/ai/AsyncAuthorization"; import type { Client } from "@langchain/langgraph-sdk"; type WatchedThread = { id: string; assistantID: string; interruptionID: string; authRequest: AsyncAuthorizationRequest; config: Record; lastRun?: number; }; type GraphResumerFilters = { graphID?: string; }; type GraphResumerOptions = { langGraph: Client; filters?: GraphResumerFilters; }; interface Events { resume: [thread: WatchedThread]; error: [error: Error]; } export declare class GraphResumer extends EventEmitter { private map; private interval; private params; constructor(params: GraphResumerOptions); private getAllInterruptedThreads; private getFirstInterrupt; private getHashMapID; loop(): Promise; start(): void; stop(): void; } export {}; //# sourceMappingURL=GraphResumer.d.ts.map