export declare const usePoll: (pollId: string) => {
    poll: Amity.Poll;
    loading: boolean;
    votePoll: (answerIds: string[]) => Promise<void>;
    unvotePoll: () => Promise<void>;
    totalVotes: number;
    isPollClosed: boolean;
    isAlreadyVoted: boolean;
    isAuthorSeeingResults: boolean;
    setIsAuthorSeeingResults: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
//# sourceMappingURL=usePoll.d.ts.map