import type { FC } from 'react'; export type FeedbackType = "BUG" | "IDEA" | "OTHER"; export interface WidgetProps { apiKey: string; apiUrl?: string; orientation?: "left" | "right"; metadata?: { userId?: string; version?: string; custom?: Record; }; } export interface FeedbackData { type: "BUG" | "IDEA" | "OTHER"; comment: string; screenshot?: string; metadata?: { url?: string; userAgent?: string; viewport?: { width: number; height: number }; custom?: Record; }; } export interface FeedgetConfig { apiKey: string; apiUrl?: string; orientation?: "left" | "right"; metadata?: WidgetProps["metadata"]; } export const Widget: FC; export function initFeedget(config: FeedgetConfig): any; export function getFeedgetInstance(): any;