import { Base } from '@studiometa/js-toolkit'; import type { BaseProps, BaseConfig } from '@studiometa/js-toolkit'; export interface AbstractPrefetchProps extends BaseProps { $el: HTMLAnchorElement; $options: { prefetch: boolean; }; } /** * AbstractPrefetch class. * @link https://ui.studiometa.dev/components/Prefetch/ */ export declare class AbstractPrefetch extends Base { /** * Config. */ static config: BaseConfig; /** * Store prefetched URL. */ static prefetchedUrls: Set; /** * Get the URL to prefetch. */ get url(): URL | null; /** * Is the URL prefetchable? */ get isPrefetchable(): boolean; /** * Prefetch the URL. */ prefetch(): void; }