import type { TaskEntity } from "./types.js";
export type StrandedWorkFinding = {
    code: "stranded-local-work" | "stranded-work-base-unavailable" | "stranded-work-git-unavailable";
    taskId: string | null;
    title: string | null;
    baseRef: string;
    files: string[];
    message: string;
    remediation: string;
};
export type StrandedWorkReport = {
    schemaVersion: 1;
    baseRef: string;
    phaseKey: string | null;
    passed: boolean;
    degraded: boolean;
    changedFiles: string[];
    findings: StrandedWorkFinding[];
};
export declare function buildStrandedWorkReport(args: {
    workspacePath: string;
    tasks: TaskEntity[];
    phaseKey?: string | null;
    baseRef?: string | null;
}): StrandedWorkReport;
