UNPKG

@teambit/checkout

Version:
34 lines (33 loc) 1.38 kB
import type { Command, CommandOptions, Report } from '@teambit/cli'; import type { ApplyVersionResults, MergeStrategy } from '@teambit/component.modules.merge-helper'; import type { CheckoutMain, CheckoutProps } from './checkout.main.runtime'; export declare class CheckoutCmd implements Command { private checkout; name: string; arguments: { name: string; description: string; }[]; description: string; helpUrl: string; group: string; extendedDescription: string; alias: string; options: CommandOptions; loader: boolean; constructor(checkout: CheckoutMain); report([to, componentPattern]: [string, string], { interactiveMerge, forceOurs, forceTheirs, autoMergeResolve, manual, all, workspaceOnly, verbose, skipDependencyInstallation, revert, includeNewFromScope, }: { interactiveMerge?: boolean; forceOurs?: boolean; forceTheirs?: boolean; autoMergeResolve?: MergeStrategy; manual?: boolean; all?: boolean; workspaceOnly?: boolean; verbose?: boolean; skipDependencyInstallation?: boolean; revert?: boolean; includeNewFromScope?: boolean; }): Promise<string | Report>; } export declare function checkoutOutput(checkoutResults: ApplyVersionResults, checkoutProps: CheckoutProps, alternativeTitle?: string): string | Report;