import type { Engine } from './engine.ts'; import type { ActivityFunction, AnyWorkflowDefinition, WorkflowRegistryEntry } from './types.ts'; type RuntimeWorkflowRegistry = Record; type RuntimeActivityTypes = Record; export type RuntimeWorkflowEngine = Engine; export declare function runtimeWorkflowEngine(engine: unknown): RuntimeWorkflowEngine; /** * Register a workflow definition on a runtime-typed engine view, bypassing the * `WorkflowAlreadyRegistered` parameter-position guard. The runtime engine * types every workflow name as already-present, so the brand always intersects * — but transport adapters, schedule-driven loaders, and benchmark harnesses * legitimately need to dispatch into the same dynamic surface. This helper is * the documented escape hatch. */ export declare function registerOnRuntimeEngine(engine: RuntimeWorkflowEngine, definition: AnyWorkflowDefinition): void; export {};