import type { PrWalkthroughChangesetRef, WalkthroughLimits, WalkthroughWarning } from "../../shared/pr-walkthrough/types.js";
import { type ParsedWalkthroughDiffFile } from "./diff-parser.js";
export interface ResolveLocalChangesetRequest {
    cwd: string;
    baseSha: string;
    headSha: string;
    limits?: Partial<WalkthroughLimits>;
}
export interface LocalChangesetResolveResult {
    changesetId: string;
    changeset: PrWalkthroughChangesetRef;
    files: ParsedWalkthroughDiffFile[];
    warnings: WalkthroughWarning[];
    limits: WalkthroughLimits;
}
export interface NameStatusRecord {
    status: string;
    filePath: string;
    oldPath?: string;
}
export declare function resolveLocalChangeset(request: ResolveLocalChangesetRequest): Promise<LocalChangesetResolveResult>;
export declare function parseShortstat(raw: string): {
    filesChanged: number;
    additions: number;
    deletions: number;
};
export declare function parseNameStatus(raw: string): NameStatusRecord[];
export { isLikelyGeneratedPath } from "../../shared/pr-walkthrough/generated-path.js";
//# sourceMappingURL=git-changeset.d.ts.map