import { App, CommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata, CommandPreRun } from '../definitions'; import { Command } from '../lib/command'; export declare class LinkCommand extends Command implements CommandPreRun { getMetadata(): Promise; preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise; run(inputs: CommandLineInputs, options: CommandLineOptions, runinfo: CommandInstanceInfo): Promise; private getAppClient; private getUserClient; lookUpApp(id: string): Promise; createApp({ name }: { name: string; }, runinfo: CommandInstanceInfo): Promise; linkApp(app: App, runinfo: CommandInstanceInfo): Promise; linkGithub(app: App): Promise; confirmGithubRepoExists(): Promise; oAuthProcess(userId: number): Promise; needsAssociation(app: App, userId: number): Promise; connectGithub(app: App, repoId: number, branches: string[]): Promise; formatRepoName(fullName: string): string; chooseApp(apps: App[]): Promise; selectGithubRepo(): Promise; selectGithubBranches(repoId: number): Promise; }