import { AbstractComponent } from "iizuna"; import { AnchorOptionsInterface } from "../utilities/anchor-options.interface"; export declare class PageTransitionComponent extends AbstractComponent { /** * @description * List of filtered components that are registered for every page load * @type {Array} */ private static components; /** * @description * The config method returns the passed components after all of them (except the PageTransitionComponent itself) * are stored in a local variable. * * This method also pushes the HrefComponent (because the page transition wont work without it) into the list. * @param {T} components * @return {T} */ static config(components: T): T; /** * @description * This listener starts the complete transition process based by the passed AnchorOptionsInterface as event value * @param element * @param {{value: AnchorOptionsInterface}} event * @return {Promise} */ loadPage(element: any, event: { value: AnchorOptionsInterface; }): Promise; }