Rocky_Mountain_Vending/.pnpm-store/v10/files/fa/cb0f75369a176ddc4493aa2fa5f1e5ec44eb2e8eadd19c7bbb4d4dd988195e62305a733bf223e038c9eb8b184f8184156eb0e461b2bba8829ac93e15203bb3
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 { 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;