Rocky_Mountain_Vending/.pnpm-store/v10/files/8e/8cbcc9a4edd8ddd9bde3b87764ec416b60dbb8eb8bded39ad7595960254920be98b6f4f6852cec6345029e1f5e8eeac110ce24d822215447e72dcfe0425648
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

32 lines
No EOL
1.4 KiB
Text

export declare function resolvedSyncPromise(): PromiseLike<void>;
export declare function resolvedSyncPromise<T>(value: T | PromiseLike<T>): PromiseLike<T>;
/**
* Creates a rejected sync promise.
*
* @param value the value to reject the promise with
* @returns the rejected sync promise
*/
export declare function rejectedSyncPromise<T = never>(reason?: any): PromiseLike<T>;
type Executor<T> = (resolve: (value?: T | PromiseLike<T> | null) => void, reject: (reason?: any) => void) => void;
/**
* Thenable class that behaves like a Promise and follows it's interface
* but is not async internally
*/
export declare class SyncPromise<T> implements PromiseLike<T> {
private _state;
private _handlers;
private _value;
constructor(executor: Executor<T>);
/** @inheritdoc */
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): PromiseLike<TResult1 | TResult2>;
/** @inheritdoc */
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): PromiseLike<T | TResult>;
/** @inheritdoc */
finally<TResult>(onfinally?: (() => void) | null): PromiseLike<TResult>;
/** Excute the resolve/reject handlers. */
private _executeHandlers;
/** Run the executor for the SyncPromise. */
private _runExecutor;
}
export {};
//# sourceMappingURL=syncpromise.d.ts.map