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