import { ThumbnailUniDriver } from '@wix/design-system/dist/testkit/unidriver.js';
import { RicosPluginToolbarNames } from '../../ricos-types/index.js';
import type { GetOptions, Testkit, UniDriver } from '../../ricos-types/testkit.js';
import type { DropdownModalUniDriver } from '../../_shared/dropdown-modal/dropdown-modal-uni-driver.js';
import type { PresetType } from '../components/insert-modal/preset-data.js';
import { toolbarsToAddIn } from '../get-add-buttons.js';
import type { PollsSettingsUniDriver } from './social-polls-settings-tab.unidriver.js';
export type PollsTestkit = Testkit<{
    content: {
        atIndex: (index: number) => {
            exists: (options?: GetOptions) => Promise<boolean>;
            clickOnPoll: () => Promise<void>;
            multipleVotesTextExists: () => Promise<boolean>;
            getDirection: () => Promise<string | null>;
            getStyle: () => Promise<string | null>;
            questionImageExists: () => Promise<boolean>;
            answerImageExist: (index: number) => Promise<boolean>;
            editor: {
                setQuestionText: (text: string) => Promise<void>;
                setAnswerText: (index: number, text: string) => Promise<void>;
                addAnswer: () => Promise<void>;
                removeAnswer: (index: number) => Promise<void>;
            };
            preview: {
                getQuestionText: () => Promise<string>;
                getAnswerText: (index: number) => Promise<string>;
                countAnswers: () => Promise<number>;
                votePercentageExists: (index: number) => Promise<boolean>;
            };
        };
    };
    presetSelectorModal: {
        waitForElement: () => Promise<void>;
        getSelectorThumbnail: (type: PresetType) => Promise<ReturnType<typeof ThumbnailUniDriver>>;
    };
    settings: PollsSettingsUniDriver;
    toolbars: {
        createAddButtonToolbars: (getAddButtonToolbarBase: () => UniDriver<Element>) => {
            click: () => Promise<void>;
            toolbarsToAddIn: typeof toolbarsToAddIn;
        };
        createPluginToolbar: (getPluginToolbarBase: (pluginType: typeof RicosPluginToolbarNames.POLL) => UniDriver<Element>) => {
            clickDelete: () => Promise<void>;
            exists: () => Promise<boolean>;
            clickLayoutSelectionDropdown: () => Promise<void>;
            layoutSelectionDropdown: DropdownModalUniDriver;
            clickSettings: () => Promise<void>;
        };
    };
}>;
export declare const createPollsTestkit: PollsTestkit;
//# sourceMappingURL=social-polls.testkit.d.ts.map