/// import { clutch as IClutch } from "@clutch-sh/api"; import type { SelectOption } from "../Input"; /** Interfaces */ declare type Origin = "WIZARD" | "HEADER"; interface FeedbackOptions { origin: Origin; feedbackTypes?: SelectOption[]; onSubmit?: (submit: boolean) => void; defaultFeedbackOption?: string; } export declare const defaults: IClutch.feedback.v1.ISurvey; export declare const FEEDBACK_MAX_LENGTH = 280; /** * NPS feedback component which is the base for both Wizard and Anytime. * Will fetch given survey options from the server based on the given origin * Then display a feedback component based on the given emoji ratings * * @param opts Available feedback options * @returns NPSFeedback component */ declare const NPSFeedback: ({ origin, onSubmit, feedbackTypes, defaultFeedbackOption, }: FeedbackOptions) => JSX.Element; export default NPSFeedback; //# sourceMappingURL=feedback.d.ts.map