import * as React from "react"; import { StyleProp, ViewStyle } from "react-native"; import { IRNPollItemProps } from "./components/RNPollItem"; export interface IChoice { id: number; votes: number; choice: string; } export interface IRNPollProps extends Omit { totalVotes: number; hasBeenVoted?: boolean; votedChoiceByID?: number; disableBuiltInIncreaseVote?: boolean; choices: Array; style?: StyleProp; pollContainerStyle?: StyleProp; PollContainer?: any; PollItemContainer?: any; onChoicePress: (selectedChoice: IChoice) => void; } declare const RNPoll: React.FC; export default RNPoll;