import { PushKey } from '../../appleApi'; import { CredentialSchema } from '../actions/promptForCredentials'; import { AppLookupParams } from '../api/IosApi'; import { Context, IView } from '../context'; import { IosPushCredentials } from '../credentials'; export declare class CreateIosPush implements IView { private accountName; constructor(accountName: string); create(ctx: Context): Promise; open(ctx: Context): Promise; _getRequiredQuestions(ctx: Context): CredentialSchema; _ensurePushKey(ctx: Context, partialKey: Partial): PushKey; provideOrGenerate(ctx: Context): Promise; } export declare class CreateAndAssignIosPush extends CreateIosPush { open(ctx: Context): Promise; assignToCurrentProject(ctx: Context, pushKeyId: number): Promise; } export declare class RemoveIosPush implements IView { private accountName; private shouldRevoke; constructor(accountName: string, shouldRevoke?: boolean); open(ctx: Context): Promise; removePushCert(ctx: Context, app: AppLookupParams): Promise; removeSpecific(ctx: Context, selected: IosPushCredentials): Promise; } export declare class UpdateIosPush implements IView { private accountName; constructor(accountName: string); open(ctx: Context): Promise; updateSpecific(ctx: Context, selected: IosPushCredentials): Promise; provideOrGenerate(ctx: Context): Promise; } export declare class UseExistingPushNotification implements IView { private app; constructor(app: AppLookupParams); open(ctx: Context): Promise; } export declare class CreateOrReusePushKey implements IView { private app; constructor(app: AppLookupParams); assignPushKey(ctx: Context, userCredentialsId: number): Promise; open(ctx: Context): Promise; _createOrReuse(ctx: Context): Promise; } export declare function validatePushKey(ctx: Context, pushKey: PushKey): Promise; export declare function getPushKeyFromParams(builderOptions: { pushId?: string; pushP8Path?: string; teamId?: string; }): Promise; export declare function usePushKeyFromParams(ctx: Context, app: AppLookupParams, pushKey: PushKey): Promise;