import type { LinkView, StatPath } from '../../../../ops/types.ts'; import type { CommandFnResult } from '../../../config.ts'; import type { CLIInvocation } from '../../types.ts'; import { type Repo } from './repo.ts'; import type { Dispatch, HeadRef } from './types.ts'; /** * The default status report, as a string. * * Split out so `commit` can print it when it has nothing to commit: git shows * the whole status there rather than a one-line refusal, and two renderings of * the same thing would drift. */ export declare function renderReport(repo: Repo, dispatch: Dispatch, statPath: StatPath, head: HeadRef, links?: LinkView | null): Promise; /** * Show the working tree status. * * Three sources, compared pairwise: HEAD's tree against the index says what a * commit would record, and the index against the working tree says what it would * leave behind. Everything the report prints is one of those two answers, or a * path neither side knows about. */ export declare function status(inv: CLIInvocation): Promise; //# sourceMappingURL=status.d.ts.map