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

71 lines
No EOL
2.2 KiB
Text

import type { Attachment } from '../attachment';
import type { Integration } from '../integration';
import type { FeedbackCallbacks, FeedbackGeneralConfiguration, FeedbackTextConfiguration, FeedbackThemeConfiguration } from './config';
import type { FeedbackEvent, SendFeedback, SendFeedbackParams, UserFeedback } from './sendFeedback';
export type { FeedbackFormData } from './form';
export type { FeedbackEvent, UserFeedback, SendFeedback, SendFeedbackParams };
/**
* The integration's internal `options` member where every value should be set
*/
export interface FeedbackInternalOptions extends FeedbackGeneralConfiguration, FeedbackThemeConfiguration, FeedbackTextConfiguration, FeedbackCallbacks {
}
type Hooks = unknown;
type HTMLElement = unknown;
type HType = unknown;
type ShadowRoot = unknown;
type VNode = unknown;
type FeedbackDialog = {
/**
* The HTMLElement that is containing all the form content
*/
el: HTMLElement;
/**
* Insert the Dialog into the Shadow DOM.
*
* The Dialog starts in the `closed` state where no inner HTML is rendered.
*/
appendToDom: () => void;
/**
* Remove the dialog from the Shadow DOM
*/
removeFromDom: () => void;
/**
* Open/Show the dialog & form inside it
*/
open: () => void;
/**
* Close/Hide the dialog & form inside it
*/
close: () => void;
};
interface FeedbackScreenshotInput {
/**
* The preact component
*/
input: (props: {
onError: (error: Error) => void;
}) => VNode;
/**
* The image/screenshot bytes
*/
value: () => Promise<Attachment | undefined>;
}
interface CreateDialogProps {
options: FeedbackInternalOptions;
screenshotIntegration: FeedbackScreenshotIntegration | undefined;
sendFeedback: SendFeedback;
shadow: ShadowRoot;
}
export interface FeedbackModalIntegration extends Integration {
createDialog: (props: CreateDialogProps) => FeedbackDialog;
}
interface CreateInputProps {
h: HType;
hooks: Hooks;
dialog: FeedbackDialog;
options: FeedbackInternalOptions;
}
export interface FeedbackScreenshotIntegration extends Integration {
createInput: (props: CreateInputProps) => FeedbackScreenshotInput;
}
//# sourceMappingURL=index.d.ts.map