Rocky_Mountain_Vending/.pnpm-store/v10/files/ae/475bd3d2c8bc07e70942d0afea17c68f3d5065aff10f3ef405bdd7820076ad264c056e1196be13a54b13d9833306c93d411a4baad353fbc1e092c9de89885a
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

30 lines
1 KiB
Text

import type { Identity, IdentityProvider } from "@smithy/types";
/**
* @internal
*/
export declare const createIsIdentityExpiredFunction: (expirationMs: number) => (identity: Identity) => boolean;
/**
* @internal
* This may need to be configurable in the future, but for now it is defaulted to 5min.
*/
export declare const EXPIRATION_MS = 300000;
/**
* @internal
*/
export declare const isIdentityExpired: (identity: Identity) => boolean;
/**
* @internal
*/
export declare const doesIdentityRequireRefresh: (identity: Identity) => boolean;
/**
* @internal
*/
export interface MemoizedIdentityProvider<IdentityT extends Identity> {
(options?: Record<string, any> & {
forceRefresh?: boolean;
}): Promise<IdentityT>;
}
/**
* @internal
*/
export declare const memoizeIdentityProvider: <IdentityT extends Identity>(provider: IdentityT | IdentityProvider<IdentityT> | undefined, isExpired: (resolved: Identity) => boolean, requiresRefresh: (resolved: Identity) => boolean) => MemoizedIdentityProvider<IdentityT> | undefined;