/** * - mac = Developer ID Application * - mac-installer = Developer ID Installer * - mas = Apple Distribution or Mac App Distribution (for Mac App Store) * - mas-installer = Mac Installer Distribution (for Mac App Store) * - mas-dev = Apple Development */ export type MacTarget = 'mac-installer' | 'mac' | 'mas-dev' | 'mas-installer' | 'mas'; export type WindowsTarget = 'windows'; export declare function isMacTarget(type: string): type is MacTarget; export declare function isWindowsTarget(type: string): type is MacTarget; /** * Files that are uploaded to HSM have a unique secretName that depends on the appId and target. * This function returns the key name that is used for certificate files that have a `.p12` postfix. * * @param appId the application id * @param target the target type * @returns the name of the secret that is required for downloading the cert from HSM. */ export declare const getCertificateNameFromHSM: (appId: string, target: MacTarget | WindowsTarget) => string; /** * Files that are uploaded to HSM have a unique secretName that depends on the appId and target. * This function returns the key name that is used for key files that have a `.p8` postfix. * Currently only used for mac notarization. * * @param appId the application id * @param target the target type * @returns the name of the secret that is required for downloading the cert from HSM. */ export declare const getAPIKeyNameFromHSM: (appId: string, target: MacTarget) => string;