import type { ProjectCIDeployConfigBranch, ProjectLocalConfig, ProjectPluginConfig } from '@ones-open/cli-utils'; import type { LoginResponseSchema, PickteamCLIOptionsSchema, Team } from '@ones-open/cli-utils'; type PickteamTargetType = 'local' | 'ci'; interface PickteamParamsValidatorOptions { currentWorkingDirectory?: string; [k: string]: unknown; } type PickteamParamsValidatorType = (params: PickteamCLIOptionsSchema, validatorOptions?: PickteamParamsValidatorOptions) => Promise; type PickteamPromptsInitialAnswer = Required>; declare function isPickteamCommandAllowTargetType(targetType: string): targetType is PickteamTargetType; declare function getPickteamCommandConfigContent(targetType: PickteamTargetType, currentWorkingDirectory?: string): Promise | Promise>; declare function getPickteamCommandParamsValidator(targetType: PickteamTargetType): PickteamParamsValidatorType; declare function getPickteamCommandLoginParams(targetType: PickteamTargetType, convertParams?: any): Promise; declare function validatePickteamCommandInputParams(targetType: PickteamTargetType, rawParams: Omit, options?: PickteamParamsValidatorOptions): Promise; declare function pickTheTeamInfo({ teams }: LoginResponseSchema, options?: Omit): Promise; interface UpdateTeamInfoIntoConfigOptions { targetType: PickteamTargetType; config?: Map | ProjectLocalConfig; pluginConfig?: ProjectPluginConfig; branchName?: string; } declare function updateTeamInfoIntoConfig({ uuid: teamUUID, org_uuid: orgUUID }: Team, { targetType, config, pluginConfig, branchName }: UpdateTeamInfoIntoConfigOptions): Promise; declare function displayPickteamPromptAfterLogin(): Promise; export { isPickteamCommandAllowTargetType, validatePickteamCommandInputParams, getPickteamCommandConfigContent, getPickteamCommandParamsValidator, getPickteamCommandLoginParams, updateTeamInfoIntoConfig, pickTheTeamInfo, displayPickteamPromptAfterLogin, }; export type { PickteamTargetType, PickteamParamsValidatorOptions, PickteamParamsValidatorType, PickteamPromptsInitialAnswer, }; //# sourceMappingURL=common.d.ts.map