import type { JSX } from 'react'; export type FeedbackType = "BUG" | "IDEA" | "OTHER"; export interface FeedgetMetadata { userId?: string; version?: string; custom?: Record; } export interface FeedgetConfig { apiKey: string; apiUrl?: string; metadata?: FeedgetMetadata; } export interface FeedbackData { type: FeedbackType; comment: string; screenshot?: string; email?: string; metadata?: { url?: string; userAgent?: string; viewport?: { width: number; height: number }; custom?: Record; }; } export interface WidgetAppearance { theme: "dark" | "light"; primaryColor: string; logo: string | null; position: "left" | "right"; launcherLabel: string; } export interface FeedgetClient { submitFeedback(data: Omit): Promise; } export declare function initFeedget(config: FeedgetConfig): FeedgetClient; export declare function getFeedgetInstance(): FeedgetClient; export type FeedgetWidgetProps = FeedgetConfig; export declare function FeedgetWidget(props: FeedgetWidgetProps): JSX.Element;