export declare function registerWorkflowAutoResume(cwd: string): () => void; /** * Test-only escape hatch: a real server process calls `registerWorkflowAutoResume` * exactly once and lives for one cwd, so the module-level `registered` guard above * is correct there. The unit suite instead starts many throwaway server instances * (one per test file, each its own cwd) inside a single shared mocha process — if an * earlier test's server never got torn down before this one starts, `registered` is * still true from that other cwd's registration and this cwd's listener silently * never subscribes. Call this in a test's `beforeEach` to force a clean registration * regardless of what any other file in the suite left behind. */ export declare function resetWorkflowAutoResumeForTests(): void;