import ' rollup-plugin-inject-process-env';
export declare class RetryOptions {
    retries?: number;
    timeout?: number;
    log?: boolean;
}
export declare class RetryRequest {
    private options;
    constructor(options?: RetryOptions);
    /**
     * Fetch with retry and timeout
     *
     * Help from https://stackoverflow.com/a/66499718
     * @param executor
     * @param options
     * @returns
     */
    fetch<T>(executor: (signal: AbortSignal) => Promise<T>, options?: RetryOptions): Promise<T>;
}
