import React, { ReactNode } from 'react';
import { PostWithResponses } from '../../types';
import { ResponseValue } from '@parlor/common';
type Props = {
    handleClick: (event: React.MouseEvent<HTMLElement, MouseEvent>, value?: ResponseValue) => void;
    value?: ResponseValue;
};
type SurveyProviderProps = {
    children?: ({ handleClick, value }: Props) => ReactNode;
    post?: Partial<PostWithResponses>;
};
export declare const SurveyProvider: ({ children, post }: SurveyProviderProps) => JSX.Element;
export {};
