import { type GitChange, type GitDiffSide, type GitScope } from "./git.js"; export interface ChangedSides { readonly conflicted: readonly GitChange[]; readonly staged: readonly GitChange[]; readonly unstaged: readonly GitChange[]; } export type ChangeOrigins = Readonly>; export declare const STAGEABLE_SIDES: readonly GitDiffSide[]; export declare const UNSTAGEABLE_SIDES: readonly GitDiffSide[]; export declare const DISCARDABLE_SIDES: readonly GitDiffSide[]; export declare const legsOf: (change: Pick) => readonly string[]; export declare const originsOfChange: (change: Pick, origins: ChangeOrigins) => readonly string[]; export declare const changeIsFrom: (change: Pick, origin: string, origins: ChangeOrigins) => boolean; export declare const scopedPaths: (changed: ChangedSides, sides: readonly GitDiffSide[], scope: GitScope, origins?: ChangeOrigins) => readonly string[]; export declare const isWholeRepo: (scope: GitScope) => boolean; export declare const discardOutcome: (changed: ChangedSides, paths: readonly string[]) => { readonly deletes: readonly string[]; readonly restores: readonly string[]; }; //# sourceMappingURL=git-scope.d.ts.map