Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
import type { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, RetryStrategy } from "@smithy/types";
|
|
import type { DelayDecider, RetryDecider, RetryQuota } from "./types";
|
|
/**
|
|
* Strategy options to be passed to StandardRetryStrategy
|
|
* @public
|
|
* @deprecated use StandardRetryStrategy from @smithy/util-retry
|
|
*/
|
|
export interface StandardRetryStrategyOptions {
|
|
retryDecider?: RetryDecider;
|
|
delayDecider?: DelayDecider;
|
|
retryQuota?: RetryQuota;
|
|
}
|
|
/**
|
|
* @public
|
|
* @deprecated use StandardRetryStrategy from @smithy/util-retry
|
|
*/
|
|
export declare class StandardRetryStrategy implements RetryStrategy {
|
|
private readonly maxAttemptsProvider;
|
|
private retryDecider;
|
|
private delayDecider;
|
|
private retryQuota;
|
|
mode: string;
|
|
constructor(maxAttemptsProvider: Provider<number>, options?: StandardRetryStrategyOptions);
|
|
private shouldRetry;
|
|
private getMaxAttempts;
|
|
retry<Input extends object, Ouput extends MetadataBearer>(next: FinalizeHandler<Input, Ouput>, args: FinalizeHandlerArguments<Input>, options?: {
|
|
beforeRequest: Function;
|
|
afterRequest: Function;
|
|
}): Promise<{
|
|
response: unknown;
|
|
output: Ouput;
|
|
}>;
|
|
}
|