import { RouterRequestConfig, VortexConfig } from './router';
export type Action<E extends HTMLElement, T> = (node: E, parameters?: T) => {
    update?: (parameters: T) => void;
    destroy?: () => void;
};
type PrefetchMethod = 'click' | 'mount' | 'hover';
type PrefetchLinkConfig = {
    prefetch?: boolean | PrefetchMethod | PrefetchMethod[];
    cacheFor?: number | string | (number | string)[];
};
export declare const link: Action<HTMLElement, RouterRequestConfig & PrefetchLinkConfig | boolean>;
type VisibleConfig = {
    vortex: VortexConfig | boolean;
    buffer?: number;
    always?: boolean;
};
export declare const visible: Action<HTMLElement, (VisibleConfig & RouterRequestConfig) | VortexConfig | boolean>;
export {};
