export const PollContext: React.Context<{}>; export function withPoll(WrappedComponent: any): (props: any) => React.JSX.Element; export class PollContextProvider extends React.PureComponent { static propTypes: { editorEvents: PropTypes.Requireable any>; unsubscribe: PropTypes.Requireable<(...args: any[]) => any>; }>>; settings: PropTypes.Requireable; isWebView: PropTypes.Requireable; getSiteMembers: PropTypes.Requireable<(...args: any[]) => any>; pollServiceApi: PropTypes.Requireable; }>>; poll: PropTypes.Requireable; title: PropTypes.Requireable; mediaId: PropTypes.Requireable; settings: PropTypes.Validator; votesDisplay: PropTypes.Validator; votersDisplay: PropTypes.Validator; voteRole: PropTypes.Validator; resultsVisibility: PropTypes.Validator; }>>>; options: PropTypes.Validator<(PropTypes.InferProps<{ id: PropTypes.Requireable; title: PropTypes.Requireable; mediaId: PropTypes.Requireable; count: PropTypes.Requireable; rating: PropTypes.Requireable; }> | null | undefined)[]>; }>>; setPoll: PropTypes.Requireable<(...args: any[]) => any>; children: PropTypes.Requireable; t: PropTypes.Requireable<(...args: any[]) => any>; }; constructor(props: any); state: { changePollTitle: any; updatePollOption: any; addOption: any; removeOption: any; changePollImage: any; fetchPoll: any; vote: any; unvote: any; getVoters: any; poll: any; }; pollApiClient: any; componentWillReceiveProps(props: any): void; componentDidMount(): void; componentWillUnmount(): void; fetchPoll(): Promise; populateWithData(poll: any): any; syncPoll: () => Promise; updatePoll(poll: any): void; vote(optionId: any): Promise; unvote(optionId: any): Promise; getVoters(optionId: any, params: any): any; changePollTitle(title: any): void; changePollImage(url: any): void; updatePollOption(index: any, option: any): void; addOption(): void; removeOption(index: any): void; render(): React.JSX.Element; } import React from "react"; import PropTypes from "prop-types"; //# sourceMappingURL=PollContext.d.ts.map