import type { DoctorCheck } from "./doctor.js";
/** One caller pointing at the wrong kind of ref for its role. */
export interface RefFinding {
    /** Workflow file inside the project, relative to the project root. */
    file: string;
    /** The Lisa reusable being called. */
    reusable: string;
    /** The ref it currently uses. */
    ref: string;
    /** Operator-readable statement of what is wrong. */
    problem: string;
}
/**
 * Find callers whose ref does not match the role of the reusable they call.
 * @param targetPath - Project root
 * @returns Every finding, in file order
 */
export declare function reusableRefFindings(targetPath: string): Promise<RefFinding[]>;
/**
 * Report callers of Lisa's reusable workflows using the wrong ref for their role.
 * @param targetPath - Project path to inspect
 * @returns Doctor check result
 */
export declare function checkReusableWorkflowRefs(targetPath: string): Promise<DoctorCheck>;
//# sourceMappingURL=doctor-reusable-workflow-refs.d.ts.map