import EasCommand from '../../commandUtils/EasCommand'; import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient'; import { PaginatedQueryOptions } from '../../commandUtils/pagination'; import { AppleDeviceQueryResult } from '../../credentials/ios/api/graphql/queries/AppleDeviceQuery'; import { AppleDevice, Maybe } from '../../graphql/generated'; export default class DeviceRename extends EasCommand { static description: string; static flags: { json: import("@oclif/core/lib/interfaces").BooleanFlag; 'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag; 'apple-team-id': import("@oclif/core/lib/interfaces").OptionFlag; udid: import("@oclif/core/lib/interfaces").OptionFlag; name: import("@oclif/core/lib/interfaces").OptionFlag; }; static contextDefinition: { loggedIn: import("../../commandUtils/context/LoggedInContextField").default; projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField; }; runAsync(): Promise; promptForNewDeviceNameAsync(initial: Maybe | undefined): Promise; renameDeviceOnExpoAsync(graphqlClient: ExpoGraphqlClient, chosenDevice: AppleDevice | AppleDeviceQueryResult, newDeviceName: string): Promise; renameDeviceOnAppleAsync(device: AppleDevice | AppleDeviceQueryResult, appleTeamIdentifier: string, newDeviceName: string): Promise; logChosenDevice(device: AppleDevice | AppleDeviceQueryResult, appleTeamName: Maybe | undefined, appleTeamIdentifier: string, { json }: PaginatedQueryOptions): void; }