import type { RetryOptions } from '../_types/global.js'; export declare function retry(func: () => T | Promise, options?: RetryOptions): Promise;