Rocky_Mountain_Vending/.pnpm-store/v10/files/cb/ab97451cf9d143e19f8c0287ec105ecd26d8676fec5f77a94757b529a0e08a44924149dac00f7aedeec4b43b45e9d626bafcfc0393eb4e8214090791d8ddac
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

47 lines
1.5 KiB
Text

import * as React from 'react';
export declare type removeCb = () => void;
export declare type MediumCallback<T> = (data: T) => any;
export declare type MiddlewareCallback<T> = (data: T, assigned: boolean) => T;
export declare type SidePush<T> = {
length?: number;
push(data: T): void;
filter(cb: (x: T) => boolean): SidePush<T>;
};
/**
* An object describing side medium
*/
export interface SideMedium<T> {
/**
* Pushes effect to the medium
* @param effect any information for real handler
*/
useMedium(effect: T): removeCb;
/**
* Assigns effect handler to the medium
* @param {Function(effect: T)} handler effect handler
*/
assignMedium(handler: MediumCallback<T>): void;
/**
* Assigns a synchronous effect handler to the medium, which would be executed right on call
* @param {Function(effect: T)} handler effect handler
*/
assignSyncMedium(handler: MediumCallback<T>): void;
/**
* reads the data stored in the medium
*/
read(): T | undefined;
options?: Record<string, any>;
}
export declare type DefaultOrNot<T> = {
default: T;
} | T;
export declare type Importer<T> = () => Promise<DefaultOrNot<React.ComponentType<T>>>;
export declare type SideCarMedium<T = {}> = SideMedium<React.ComponentType<T>>;
export declare type SideCarHOC<T = {}> = {
readonly sideCar: SideCarMedium<T>;
};
export declare type SideCarComponent<T> = React.FunctionComponent<T & SideCarHOC<T>>;
export declare type SideCarMediumOptions = {
async?: boolean;
ssr?: boolean;
};