Rocky_Mountain_Vending/.pnpm-store/v10/files/6f/b4553dc67f4313fa57ea70ceb71cc3936338ccd642ef6666d1a7b8b0eb70c4d8118146dfbc978113f220542ba3432f63b9c0fab106ff93ae2222c5e015dde8
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

40 lines
No EOL
1.2 KiB
Text

/**
* @license
* Copyright 2023 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import type { GetIdFn } from '../util/incremental-id-generator.js';
import { ProtocolError } from './Errors.js';
/**
* Manages callbacks and their IDs for the protocol request/response communication.
*
* @internal
*/
export declare class CallbackRegistry {
#private;
constructor(idGenerator: GetIdFn);
create(label: string, timeout: number | undefined, request: (id: number) => void): Promise<unknown>;
reject(id: number, message: string, originalMessage?: string): void;
rejectRaw(id: number, error: object): void;
_reject(callback: Callback, errorMessage: string | ProtocolError, originalMessage?: string): void;
resolve(id: number, value: unknown): void;
clear(): void;
/**
* @internal
*/
getPendingProtocolErrors(): Error[];
}
/**
* @internal
*/
export declare class Callback {
#private;
constructor(id: number, label: string, timeout?: number);
resolve(value: unknown): void;
reject(error: Error): void;
get id(): number;
get promise(): Promise<unknown>;
get error(): ProtocolError;
get label(): string;
}
//# sourceMappingURL=CallbackRegistry.d.ts.map