export declare function retryIfAppleEventTimeout(delegate: () => T | Promise, { retries }?: { retries?: number; }): Promise;