UNPKG

@inov-ai/feedback-widget

Version:

Modern React feedback widget with surveys, analytics, and Next.js 15 support. Collect user feedback and run surveys in your SaaS applications.

8 lines 444 B
import { FeedbackConfig, FeedbackSubmission, Survey, FeedbackMetadata } from '../types'; export declare const useFeedbackApi: (config: FeedbackConfig) => { submitFeedback: (data: FeedbackSubmission) => Promise<void>; submitSurvey: (surveyId: number, answers: any[]) => Promise<void>; fetchSurvey: () => Promise<Survey | null>; getFeedbackMetadata: () => Promise<FeedbackMetadata>; }; //# sourceMappingURL=useFeedbackApi.d.ts.map