import type { WorkflowEditing } from '../editing.js'; import { type Json } from './editorFields.js'; export type RefGroup = 'inputs' | 'outputs' | 'matrix' | 'variables' | 'sessions' | 'env'; /** Something a `${{ }}` expression can read, as the parser names it. */ export interface ExpressionRef { group: RefGroup; /** The name the parser reads, such as needs.build.outputs.version. */ label: string; expression: string; } /** Everything an expression in `job` can read; without a job, only what the whole workflow has. */ export declare function expressionRefs(editing: WorkflowEditing, workflow: Json | undefined, job?: string): ExpressionRef[];