export declare const externalLinkRegex: RegExp;
export declare const wikilinkRegex: RegExp;
export declare const tableRegex: RegExp;
export declare const tableWikilinkRegex: RegExp;
export declare function preprocessWikilinks(src: string): string;
export interface WikilinkComponents {
    isEmbed: boolean;
    filepath: string;
    anchor: string;
    alias?: string;
    url: string;
}
export declare function parseWikilink(match: string): WikilinkComponents | null;
export declare function getEmbedType(filepath: string): 'image' | 'video' | 'audio' | 'pdf' | 'transclude';
export declare function generateEmbedHtml(components: WikilinkComponents): string;
export declare function checkWikilinkExists(filepath: string, allSlugs: string[]): boolean;
