export interface RetryType {
    retryIntervalMs: number;
    retries?: number;
    nonRetryable?: (err: any) => boolean;
    nonRetryableSilently?: (err: any) => boolean;
}
export declare const retry: <T>(fn: () => Promise<T> | T, { retries, retryIntervalMs, nonRetryable, nonRetryableSilently, }: RetryType) => Promise<T | undefined>;
