import React from 'react'; import { FeedbackConfig } from './utils'; interface Payload { surveyId: string; customerId: string; meta?: Record; } interface OptionModal { title?: string; descriptionScore?: string; thankyou?: string; illustration?: string; followupQuestion?: string; survey_type?: string; color?: string; } export interface Props { config: Partial; children: React.ReactNode; showFeedbackModal: (payload: Payload, options?: OptionModal) => Promise<{ submitted: boolean; } | { submitted: null; error: any; }>; hideFeedbackModal: () => void; } export declare const FeedbackUsContext: React.Context | undefined>; declare function App({ children, embed, ...props }: Partial & { embed?: boolean; }): React.JSX.Element; export default App;