import { AppleDeveloperPortalAppID, AppleDeveloperPortalDevice, AppleDeveloperPortalResponse, AppleDeveloperPortalTeam, AppleProvisioningRequest, AppleRelayResponse } from '../core/device-install/apple'; export * from '../core/device-install/apple/client'; export * from '../core/device-install/apple/crypto'; export * from '../core/device-install/apple/gsa-srp'; export type { AppleDeveloperPortalAppID, AppleDeveloperPortalDevice, AppleDeveloperPortalResponse, AppleDeveloperPortalTeam, AppleProvisioningRequest, AppleRelayResponse, } from '../core/device-install/apple'; export { createAppleRelaySession, deleteAppleRelaySession, fetchAppleAccountSession, proxyPhoneTwoFactorCode, proxySrpComplete, proxySrpInit, proxyTwoFactorCode, triggerPhoneTwoFactor, triggerTrustedDeviceTwoFactor, } from '../core/device-install/apple'; export type AppleRelayClientOptions = { apiUrl: string; token?: string; appleSessionId: string; }; export type AppleTeamScopedOptions = AppleRelayClientOptions & { teamId?: string; }; export type AppleCertificateKind = 'development' | 'distribution'; export type AppleProfileKind = 'development' | 'adhoc'; export type RequestAppleProvisioningOptions = AppleRelayClientOptions & { request: AppleProvisioningRequest; label?: string; validatePortalResponse?: boolean; mapBody?: (body: AppleDeveloperPortalResponse | undefined, response: AppleRelayResponse) => T; }; export type MappedAppleProvisioningOptions = RequestAppleProvisioningOptions & { mapBody: (body: AppleDeveloperPortalResponse | undefined, response: AppleRelayResponse) => T; }; export type ListAppleCertificatesOptions = AppleTeamScopedOptions & { certificateKind?: AppleCertificateKind; }; export type CreateAppleCertificateOptions = AppleTeamScopedOptions & { certificateKind?: AppleCertificateKind; csrPEM: string; }; export type DownloadAppleCertificateOptions = AppleTeamScopedOptions & { certificateKind?: AppleCertificateKind; certificateId: string; }; export type DeleteAppleCertificateOptions = DownloadAppleCertificateOptions; export type ListAppleBundleIDsOptions = AppleTeamScopedOptions & { search?: string; }; export type CreateAppleBundleIDOptions = AppleTeamScopedOptions & { bundleId: string; name?: string; }; export type UpdateAppleBundleIDOptions = AppleTeamScopedOptions & { appIdId: string; bundleId?: string; name?: string; }; export type DeleteAppleBundleIDOptions = AppleTeamScopedOptions & { appIdId: string; }; export type ListAppleDevicesOptions = AppleTeamScopedOptions & { deviceUDID?: string; }; export type RegisterAppleDeviceOptions = AppleTeamScopedOptions & { deviceUDID: string; name?: string; }; export type UpdateAppleDeviceOptions = AppleTeamScopedOptions & { deviceId: string; name?: string; }; export type DeleteAppleDeviceOptions = AppleTeamScopedOptions & { deviceId: string; }; export type ListAppleProfilesOptions = AppleTeamScopedOptions & { profileKind?: AppleProfileKind; bundleId?: string; }; export type CreateAppleProfileOptions = AppleTeamScopedOptions & { profileKind?: AppleProfileKind; bundleId: string; appIdId: string; certificateIds: string[]; deviceIds: string[]; name?: string; }; export type DownloadAppleProfileOptions = AppleTeamScopedOptions & { profileId: string; }; export type DeleteAppleProfileOptions = DownloadAppleProfileOptions; export declare function requestAppleProvisioning(options: MappedAppleProvisioningOptions): Promise; export declare function requestAppleProvisioning(options: RequestAppleProvisioningOptions): Promise>; export declare function listAppleTeams(options: AppleRelayClientOptions): Promise; export declare function listAppleCertificates({ certificateKind, teamId, ...options }: ListAppleCertificatesOptions): Promise[]>; export declare function createAppleCertificate({ certificateKind, teamId, csrPEM, ...options }: CreateAppleCertificateOptions): Promise | undefined>; export declare function downloadAppleCertificate({ certificateKind, certificateId, teamId, ...options }: DownloadAppleCertificateOptions): Promise; export declare function deleteAppleCertificate({ certificateKind, certificateId, teamId, ...options }: DeleteAppleCertificateOptions): Promise; export declare function listAppleBundleIDs({ teamId, search, ...options }: ListAppleBundleIDsOptions): Promise; export declare function createAppleBundleID({ teamId, bundleId, name, ...options }: CreateAppleBundleIDOptions): Promise | undefined>; export declare function updateAppleBundleID({ teamId, appIdId, bundleId, name, ...options }: UpdateAppleBundleIDOptions): Promise | undefined>; export declare function deleteAppleBundleID({ teamId, appIdId, ...options }: DeleteAppleBundleIDOptions): Promise; export declare function listAppleDevices({ teamId, deviceUDID, ...options }: ListAppleDevicesOptions): Promise; export declare function registerAppleDevice({ teamId, deviceUDID, name, ...options }: RegisterAppleDeviceOptions): Promise | undefined>; export declare function updateAppleDevice({ teamId, deviceId, name, ...options }: UpdateAppleDeviceOptions): Promise | undefined>; export declare function deleteAppleDevice({ teamId, deviceId, ...options }: DeleteAppleDeviceOptions): Promise; export declare function listAppleProfiles({ profileKind, teamId, bundleId, ...options }: ListAppleProfilesOptions): Promise[]>; export declare function createAppleProfile({ profileKind, teamId, bundleId, appIdId, certificateIds, deviceIds, name, ...options }: CreateAppleProfileOptions): Promise | undefined>; export declare function downloadAppleProfile({ teamId, profileId, ...options }: DownloadAppleProfileOptions): Promise; export declare function deleteAppleProfile({ teamId, profileId, ...options }: DeleteAppleProfileOptions): Promise; export declare function assertAppleDeveloperPortalResponseOK(response: AppleDeveloperPortalResponse | undefined, label: string): void;