import { Document } from 'yaml'; import { GitHubAction } from '../../../types/github-action'; /** * Scans a parsed workflow YAML document for action references. * * Navigates AST structure `jobs -> -> steps` and extracts `uses` entries * with corresponding line numbers. Also scans for job-level `uses` fields that * indicate Reusable Workflows. * * @param document - Parsed YAML document of a workflow file. * @param content - Original file content. * @param filePath - Path of the workflow file to scan. * @returns List of discovered actions. */ export declare function scanWorkflowAst(document: Document, content: string, filePath: string): GitHubAction[];