/**
 * Workflow modification detection.
 *
 * Compares base and head lock files to detect added, modified, or removed workflows.
 * Used by the processor to flag workflow changes in PRs from non-trusted contributors.
 */
import type { LockFile } from '@kici-dev/engine';
/** A single workflow modification detected between base and head lock files. */
export interface WorkflowModification {
    workflowName: string;
    changeType: 'added' | 'modified' | 'removed';
}
/**
 * Detect workflow modifications between base and head lock files.
 *
 * Compares workflow names and configurations:
 * - Added: in head but not base
 * - Removed: in base but not head
 * - Modified: in both but triggers, jobs, or steps differ
 *
 * @param baseLockFile - Lock file from the base branch (null for new repos)
 * @param headLockFile - Lock file from the head commit (null means nothing to detect)
 * @returns List of detected modifications
 */
export declare function detectWorkflowModifications(baseLockFile: LockFile | null, headLockFile: LockFile | null): WorkflowModification[];
//# sourceMappingURL=workflow-diff.d.ts.map