import type { SharedContext } from '../shared-context/index.mts'; import type { GhaWorkspacePolicyOptions } from './index.mts'; export type GhaFileKind = 'workflow' | 'action'; export declare function ghaFileKind(file: string, options: GhaWorkspacePolicyOptions): GhaFileKind | undefined; export declare function loadWorkflowDocument(ctx: SharedContext, file: string, errors: string[]): unknown; export declare function visitRunSteps(document: unknown, isAction: boolean, visitor: (scope: string, index: number, step: Record) => void): void;