2025-06-30 09:38:03 +08:00

21 lines
925 B
TypeScript

import { NotarizeOptions, NotarizeOptionsLegacy, NotarizeOptionsNotaryTool } from './types';
export { NotarizeOptions };
export { validateNotaryToolAuthorizationArgs as validateAuthorizationArgs } from './validate-args';
/**
* Sends your app to Apple for notarization with `notarytool` and staples a successful
* notarization result to the app bundle. This includes your {@link NotaryToolNotarizeAppOptions.appPath | appPath}
* as well as one of three valid credential authentication strategies.
*
* See {@link NotaryToolCredentials} for authentication options.
*
* @category Core
* @param args Options for notarization
* @returns The Promise resolves once notarization is complete. Note that this may take a few minutes.
*/
declare function notarize(args: NotarizeOptionsNotaryTool): Promise<void>;
/**
* @deprecated
*/
declare function notarize(args: NotarizeOptionsLegacy): Promise<void>;
export { notarize };