import type { CommandFnResult } from '../../../config.ts'; import type { CLIInvocation } from '../../types.ts'; /** * Stage working-tree content into the index. * * Every path is hashed and written as a loose object, then recorded in the * index. Staging a path that is gone records the removal instead, which is what * makes `git add ` and `git add -A` stage a deletion without a separate * verb. * * `-A` and `-u` both narrow to the pathspecs when any are given, and differ in * what they will stage: `-A` takes untracked files too, `-u` only what the index * already holds. */ export declare function add(inv: CLIInvocation): Promise; //# sourceMappingURL=add.d.ts.map