import { ButtonUniDriver, InputUniDriver, SegmentedToggleUniDriver, ToggleSwitchUniDriver } from '@wix/design-system/dist/testkit/unidriver.js';
import type { FigureTestkit } from '../plugin-figure/testkit.js';
import { RicosPluginToolbarNames } from '../ricos-types/index.js';
import type { GetOptions, Testkit, UniDriver } from '../ricos-types/testkit.js';
import { toolbarsToAddIn } from './get-add-buttons.js';
export type VideoTestkit = Testkit<{
    content: {
        atIndex: (index: number) => FigureTestkit & {
            exists: (options?: GetOptions) => Promise<boolean>;
            click: () => Promise<void>;
            hasSpoiler: () => Promise<boolean>;
            waitForPlayer: () => Promise<void>;
            hasVideo: () => Promise<boolean>;
            hasPreview: () => Promise<boolean>;
            getNativeElement: () => Promise<Element>;
        };
    };
    toolbars: {
        createAddButtonToolbars: (getAddButtonToolbarBase: () => UniDriver<Element>) => {
            click: () => Promise<void>;
            toolbarsToAddIn: typeof toolbarsToAddIn;
        };
        createPluginToolbar: (getPluginToolbarBase: (pluginType: typeof RicosPluginToolbarNames.VIDEO) => UniDriver<Element>) => {
            openReplaceModal: () => Promise<void>;
            openSettingsModal: () => Promise<void>;
            settingsButtonExists: () => Promise<boolean>;
            clickDelete: () => Promise<void>;
            exists: () => Promise<boolean>;
        };
    };
    insertModal: {
        sourceSegmentedToggle: ReturnType<typeof SegmentedToggleUniDriver>;
        embedSection: {
            urlInput: ReturnType<typeof InputUniDriver>;
            submitButton: ReturnType<typeof ButtonUniDriver>;
        };
        uploadSection: {
            uploadButton: ReturnType<typeof ButtonUniDriver>;
        };
        waitForElement: () => Promise<void>;
    };
    settings: {
        disableDownloadToggle: ReturnType<typeof ToggleSwitchUniDriver>;
        spoilerToggle: ReturnType<typeof ToggleSwitchUniDriver>;
    };
}>;
export declare const createVideoTestkit: VideoTestkit;
//# sourceMappingURL=testkit.d.ts.map