import type { GetWixClientPromise } from '../../_shared/request-service-provider/use-get-wix-client-promise.js';
import type { EnrichedPoll, Poll } from './ricos-types.js';
interface PollsServiceInterface {
    fetchPoll: (pollId: string) => Promise<EnrichedPoll>;
    createPoll: (poll: Poll) => Promise<EnrichedPoll>;
    updatePoll: (poll: EnrichedPoll) => Promise<EnrichedPoll>;
    vote: (pollId: string, optionId: string) => Promise<EnrichedPoll>;
    unvote: (pollId: string, optionId: string) => Promise<EnrichedPoll>;
    getVoters: (pollId: string, optionId: string, params: Record<string, string | number>) => Promise<any>;
}
export declare class PollsService implements PollsServiceInterface {
    private getWixClientPromise;
    requestOptions: {
        baseURL: string;
    };
    constructor(getWixClientPromise: GetWixClientPromise);
    fetchPoll: PollsServiceInterface['fetchPoll'];
    createPoll: PollsServiceInterface['createPoll'];
    updatePoll: PollsServiceInterface['updatePoll'];
    vote: PollsServiceInterface['vote'];
    unvote: PollsServiceInterface['unvote'];
    getVoters: PollsServiceInterface['getVoters'];
}
export {};
//# sourceMappingURL=polls-service.d.ts.map