import type { WorkspaceChangesView, WorkspaceFileDiffView } from '../../../../server/control-plane-types.js';
export declare class ControlPlaneWorkspaceDiffController {
    static readChanges(workspaceRoot: string): Promise<WorkspaceChangesView>;
    static readFileDiff(workspaceRoot: string, path: string): Promise<WorkspaceFileDiffView>;
    private static isHeddleStatePath;
    private static ensureGitWorkspace;
    private static readDiffStats;
    private static parsePorcelainStatus;
    private static statusFromPorcelain;
    private static normalizeStatusCode;
    private static resolveWorkspacePath;
    private static isReadableUntrackedFile;
    private static rewriteNoIndexPatchPaths;
    private static truncatePatch;
    private static normalizeError;
    private static runGit;
}
//# sourceMappingURL=workspace-diff.d.ts.map