/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { BaseCommand } from "../../library/index.js"; /** * An object containing merge status between two branches. */ interface BranchMergeInfo { /** * The branches being compared. */ branches: string[]; /** * The number of commits difference between the branches. This will equal the length of the commits array and is * included for convenience. */ commitCount: number; /** * The commits that are in branch 1 but not branch 2. */ commits: string[]; } export default class MergeInfoCommand extends BaseCommand { static readonly description = "Get info about the merge status of branches in the repo. Uses \"main\" and \"next\" if no branch names are provided. Output the data as JSON using --json."; static readonly enableJsonFlag = true; static readonly flags: { readonly branch: import("@oclif/core/interfaces").OptionFlag; }; static readonly examples: { description: string; command: string; }[]; run(): Promise; } export {}; //# sourceMappingURL=info.d.ts.map