import { FullAPIOptions } from ".."; export default class PollManager { private options; constructor(options: FullAPIOptions); /** * Get Poll Infos (without user specific infos) * @since 0.2.6 */ getPublicInfos(pollId: number): import("..").Response; /** * Get Poll Infos (with user specific infos) * @since 0.2.4 */ getInfos(pollId: number): import("..").Response; /** * Get Available Polls (without user specific infos) * @since 0.2.6 */ getPublicList(page?: number, search?: string): import("..").Response<{ meta: { items: { total: number; perPage: number; current: number; }; pages: { total: number; current: number; }; }; items: import("..").Poll[]; }>; /** * Get Available Polls (with user specific infos) * @since 0.2.4 */ getList(page?: number, search?: string): import("..").Response<{ meta: { items: { total: number; perPage: number; current: number; }; pages: { total: number; current: number; }; }; items: import("..").Poll[]; }>; /** * Vote for a Poll Option * @since 0.2.4 */ voteForOption(optionId: number): import("..").Response; /** * Vote for a Poll Option * @since 0.2.4 */ revokeVoteForOption(optionId: number): import("..").Response; }