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>
23 lines
995 B
Text
23 lines
995 B
Text
import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types";
|
|
import { RateLimiter } from "@smithy/util-retry";
|
|
import { StandardRetryStrategyOptions } from "./StandardRetryStrategy";
|
|
import { StandardRetryStrategy } from "./StandardRetryStrategy";
|
|
/**
|
|
* @public
|
|
* Strategy options to be passed to AdaptiveRetryStrategy
|
|
*/
|
|
export interface AdaptiveRetryStrategyOptions extends StandardRetryStrategyOptions {
|
|
rateLimiter?: RateLimiter;
|
|
}
|
|
/**
|
|
* @public
|
|
* @deprecated use AdaptiveRetryStrategy from @smithy/util-retry
|
|
*/
|
|
export declare class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
private rateLimiter;
|
|
constructor(maxAttemptsProvider: Provider<number>, options?: AdaptiveRetryStrategyOptions);
|
|
retry<Input extends object, Ouput extends MetadataBearer>(next: FinalizeHandler<Input, Ouput>, args: FinalizeHandlerArguments<Input>): Promise<{
|
|
response: unknown;
|
|
output: Ouput;
|
|
}>;
|
|
}
|