import type { RuntimeEventBus } from '../runtime/events/index.js';
import type { WrfcState } from './wrfc-types.js';
export type WorkflowContext = {
    sessionId: string;
    traceId: string;
    source: string;
};
export type WrfcNodeRole = 'engineer' | 'reviewer' | 'fixer' | 'verifier';
export declare function createWrfcWorkflowContext(sessionId: string, chainId: string): WorkflowContext;
export declare function createWrfcOrchestrationGraphId(chainId: string): string;
export declare function emitWrfcStateChanged(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, from: WrfcState, to: WrfcState): void;
export declare function emitWrfcChainCreated(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, task: string): void;
export declare function emitWrfcGateResult(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, gate: string, passed: boolean): void;
export declare function emitWrfcChainPassed(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string): void;
export declare function emitWrfcAutoCommitted(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, commitHash?: string): void;
export declare function emitWrfcCascadeAbort(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, reason: string): void;
export declare function emitWrfcGraphCreated(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, title: string): void;
export declare function startWrfcOrchestrationNode(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, suffix: string, role: WrfcNodeRole, title: string, agentId?: string): string;
export declare function completeWrfcOrchestrationNode(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, nodeId: string, summary?: string): void;
export declare function failWrfcOrchestrationNode(runtimeBus: RuntimeEventBus, sessionId: string, chainId: string, nodeId: string, error: string): void;
//# sourceMappingURL=wrfc-runtime-events.d.ts.map