import type { RunFetchEnv, WorkflowConclusion, WorkflowRetryRule, WorkflowRunContext } from './run-context-types.mts'; export interface BuildWorkflowRunContextOptions { conclusion: WorkflowConclusion; /** Rules replayed over prior attempts to count each rerun rule's occurrences. */ rules?: readonly WorkflowRetryRule[]; runAttempt: number; workflowName: string; } export declare function buildWorkflowRunContext(env: RunFetchEnv, { conclusion, rules, runAttempt, workflowName }: BuildWorkflowRunContextOptions): Promise;