export interface WorkflowPath { readonly file: string; readonly ref: string | null; } export interface NormalizedWorkflowRun { readonly workflowPath: WorkflowPath | null; } export function normalizeWorkflowRun>( value: T, ): Omit & NormalizedWorkflowRun;