import { AbstractComponent, OnReady } from "iizuna"; /** * @description * This attribute can be attached to any anchor element to register it for page-pre-loading. * The request to the page is being pushed in a request queue based by the loading priority. * * If two elements have the same priority, the first element in the DOM will be loaded first. */ export declare class LoadPriorityComponent extends AbstractComponent implements OnReady { /** * @description * We know that this element can only be a AnchorElement because of the component restriction. */ element: HTMLAnchorElement; /** * @description * A Numeric representation of the loading priority. The higher the number, the lower the priority! * @type {string} */ loadPriority: string; /** * @description * Pre-loads the target page and writes it into the cache for faster page loadings */ onReady(): void; }