import { FetchRetryOptions, RetryOptions } from "@trigger.dev/core/v3"; export type { RetryOptions }; declare function onThrow(fn: (options: { attempt: number; maxAttempts: number; }) => Promise, options: RetryOptions): Promise; export interface RetryFetchRequestInit extends RequestInit { retry?: FetchRetryOptions; timeoutInMs?: number; } declare function retryFetch(input: RequestInfo | URL, init?: RetryFetchRequestInit | undefined): Promise; export declare const retry: { onThrow: typeof onThrow; fetch: typeof retryFetch; };