Rocky_Mountain_Vending/.pnpm-store/v10/files/db/6da7c93390b5f2532818db9e86f0412e1ab50056306de2afb3db139b96aa1cf6fea2a3190591be72b14161b107f655dca6dac64b1b2ce016f491302cde925a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

26 lines
1 KiB
Text

import { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types";
/**
* @public
*/
export declare class StandardRetryStrategy implements RetryStrategyV2 {
private readonly maxAttempts;
readonly mode: string;
private capacity;
private readonly retryBackoffStrategy;
private readonly maxAttemptsProvider;
constructor(maxAttempts: number);
constructor(maxAttemptsProvider: Provider<number>);
acquireInitialRetryToken(retryTokenScope: string): Promise<StandardRetryToken>;
refreshRetryTokenForRetry(token: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
recordSuccess(token: StandardRetryToken): void;
/**
* @returns the current available retry capacity.
*
* This number decreases when retries are executed and refills when requests or retries succeed.
*/
getCapacity(): number;
private getMaxAttempts;
private shouldRetry;
private getCapacityCost;
private isRetryableError;
}