1export { validateAuthorizationArgs } from './validate-args'; 2export interface NotarizePasswordCredentials { 3 appleId: string; 4 appleIdPassword: string; 5} 6export interface NotarizeApiKeyCredentials { 7 appleApiKey: string; 8 appleApiIssuer: string; 9} 10export declare type NotarizeCredentials = NotarizePasswordCredentials | NotarizeApiKeyCredentials; 11export interface NotarizeAppOptions { 12 appPath: string; 13 appBundleId: string; 14} 15export interface TransporterOptions { 16 ascProvider?: string; 17} 18export interface NotarizeResult { 19 uuid: string; 20} 21export declare type NotarizeStartOptions = NotarizeAppOptions & NotarizeCredentials & TransporterOptions; 22export declare type NotarizeWaitOptions = NotarizeResult & NotarizeCredentials; 23export declare type NotarizeStapleOptions = Pick<NotarizeAppOptions, 'appPath'>; 24export declare type NotarizeOptions = NotarizeStartOptions; 25export declare function startNotarize(opts: NotarizeStartOptions): Promise<NotarizeResult>; 26export declare function waitForNotarize(opts: NotarizeWaitOptions): Promise<void>; 27export declare function stapleApp(opts: NotarizeStapleOptions): Promise<void>; 28export declare function notarize({ appBundleId, appPath, ascProvider, ...authOptions }: NotarizeOptions): Promise<void>; 29