import { Page } from './page';
type VortexDestructor = void | (() => void) | Promise<void | (() => void)>;
/**
 * Initialize Vortex client.
 * Prepares root element, detects SSR, subscribes to `window`'s events and initializes `axios` instance
 *
 * @param setup Setup callback
 * @param element Root element. Defaults to `#app`
 * @returns Destructor function
 */
export declare function createVortex(setup: (el: HTMLElement, page: Page, hydrate: boolean) => VortexDestructor, element?: string | HTMLElement): Promise<() => void>;
export {};
