import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils'; import { UpdateBranchBasicInfoFragment, UpdateChannelBasicInfoFragment, UpdateFragment } from '../../graphql/generated'; import { UpdateChannelObject } from '../../graphql/queries/ChannelQuery'; export type NonInteractiveOptions = { branchNameToRollout: string; percent: number; runtimeVersion: string; }; /** * Create a rollout for the project. */ export declare class CreateRollout implements EASUpdateAction { private readonly channelInfo; private readonly options; constructor(channelInfo: UpdateChannelBasicInfoFragment, options?: Partial); runAsync(ctx: EASUpdateContext): Promise; confirmCreationAsync(ctx: EASUpdateContext): Promise; getChannelObjectAsync(ctx: EASUpdateContext, runtimeVersion: string): Promise; getLatestUpdateGroupOnBranchAsync(ctx: EASUpdateContext, branchInfo: UpdateBranchBasicInfoFragment, runtimeVersion: string): Promise; selectRuntimeVersionAsync(ctx: EASUpdateContext, branchToRollout: UpdateBranchBasicInfoFragment, defaultBranchId: string): Promise; selectRuntimeVersionFromAlternativeSourceAsync(ctx: EASUpdateContext, branchToRollout: UpdateBranchBasicInfoFragment, defaultBranch: UpdateBranchBasicInfoFragment): Promise; selectRuntimeVersionFromProjectConfigAsync(ctx: EASUpdateContext): Promise; selectBranchAsync(ctx: EASUpdateContext, defaultBranchId: string): Promise; resolveBranchNameAsync(ctx: EASUpdateContext, branchName: string): Promise; }