import { Context } from 'mocha';
import { WebDriver } from 'selenium-webdriver';
import { Config, BrowserConfig, StorybookGlobals } from '../../types';
declare global {
    interface Window {
        __CREEVEY_RESTORE_SCROLL__?: () => void;
        __CREEVEY_UPDATE_GLOBALS__: (globals: StorybookGlobals) => void;
        __CREEVEY_INSERT_IGNORE_STYLES__: (ignoreElements: string[]) => HTMLStyleElement;
        __CREEVEY_REMOVE_IGNORE_STYLES__: (ignoreStyles: HTMLStyleElement) => void;
    }
}
export declare function updateStorybookGlobals(browser: WebDriver, globals: StorybookGlobals): Promise<void>;
export declare function getBrowser(config: Config, browserConfig: BrowserConfig): Promise<WebDriver | null>;
export declare function switchStory(this: Context): Promise<void>;
