import { ScanResult } from '../types/scan-result'; /** * Scans a repository for all GitHub Actions usage in workflows and composite * actions. * * @example * * ```ts * const result = await scanGitHubActions('/path/to/repo') * ``` * * @param rootPath - The root path of the repository to scan. Defaults to * current working directory. * @param ciDirectory - The CI directory name (e.g., '.github' or '.gitea'). * Defaults to '.github'. * @returns A promise that resolves to a ScanResult containing: * * - Workflows: Map of workflow file paths to their referenced actions * - CompositeActions: Map of composite action names to their directory paths * - Actions: Flat array of all discovered GitHub Actions. */ export declare function scanGitHubActions(rootPath?: string, ciDirectory?: string): Promise;