import { Router } from 'vue-router';
/**
 *
 * @param root0
 * @param root0.autolink
 * @param root0.useMarkdown
 * @param root0.useExtendedMarkdown
 */
export declare function remarkAutolink({ autolink, useMarkdown, useExtendedMarkdown }: {
    autolink: any;
    useMarkdown: any;
    useExtendedMarkdown: any;
}): (tree: any) => void;
/**
 *
 * @param text
 */
export declare function parseUrl(text: string): string | (string | Record<string, any>)[];
/**
 * Try to get path for router link from an absolute or relative URL.
 *
 * @param router - VueRouter instance of the router link
 * @param url - absolute URL to parse
 * @return a path that can be used in the router link or null if this URL doesn't match this router config
 * @example http://cloud.ltd/nextcloud/index.php/apps/files/favorites?fileid=2#fragment => /files/favorites?fileid=2#fragment
 */
export declare function getRoute(router: Router | null, url: string): string | null;
