Rocky_Mountain_Vending/.pnpm-store/v10/files/4b/f6cdc709339950dd5a7ff0c74a3c5e79d6b9d5dee76956185bcf4920725c8d064d8e60952e8a1b1f238ab7195ef0527a2e09268908e805b1d2ba970fa85195
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

49 lines
No EOL
1.2 KiB
Text

import type { Client } from '../client';
import { Scope } from '../scope';
import type { AsyncContextStrategy } from './types';
interface Layer {
client?: Client;
scope: Scope;
}
/**
* This is an object that holds a stack of scopes.
*/
export declare class AsyncContextStack {
private readonly _stack;
private _isolationScope;
constructor(scope?: Scope, isolationScope?: Scope);
/**
* Fork a scope for the stack.
*/
withScope<T>(callback: (scope: Scope) => T): T;
/**
* Get the client of the stack.
*/
getClient<C extends Client>(): C | undefined;
/**
* Returns the scope of the top stack.
*/
getScope(): Scope;
/**
* Get the isolation scope for the stack.
*/
getIsolationScope(): Scope;
/**
* Returns the topmost scope layer in the order domain > local > process.
*/
getStackTop(): Layer;
/**
* Push a scope to the stack.
*/
private _pushScope;
/**
* Pop a scope from the stack.
*/
private _popScope;
}
/**
* Get the stack-based async context strategy.
*/
export declare function getStackAsyncContextStrategy(): AsyncContextStrategy;
export {};
//# sourceMappingURL=stackStrategy.d.ts.map