import type { CommandFnResult } from '../../../config.ts'; import type { CLIInvocation } from '../../types.ts'; /** * Switch the working tree to another branch or commit. * * Refuses rather than overwriting when the switch would destroy work that is not * committed, whether that is an edit to a tracked file or an untracked file the * target branch happens to hold. That check is the whole reason this verb is * safe to offer: without it a branch switch silently throws away whatever was * changed and not staged, and there is no reflog here to get it back from. */ export declare function checkout(inv: CLIInvocation): Promise; //# sourceMappingURL=checkout.d.ts.map