export declare const wait: (message: string) => void; export declare const warn: (message: string) => void; export declare const info: (message: string) => void; export declare const error: (message: string) => void; export declare const success: (message: string) => void; export declare const compareDate: (dateA: Date | string | undefined, dateB: Date | string | undefined) => number; export declare const resolveHTML: (html: string, customElements?: string[]) => string; /** * check if string is a valid url */ export declare const isUrl: (test: string) => boolean; export declare const isAbsoluteUrl: (test: string) => boolean; export declare const resolveUrl: (hostname: string, base?: string, path?: string) => string; export declare const getImageMineType: (ext?: string) => string; /** * @see https://stackoverflow.com/questions/223652/is-there-a-way-to-escape-a-cdata-end-token-in-xml */ export declare const encodeCDATA: (content: string) => string; export declare const encodeXML: (content: string) => string; export declare const FEED_GENERATOR = "@mr-hope/vuepress-plugin-feed"; export declare type AuthorInfo = { name: string; url?: string; }; export declare type Author = string | string[] | AuthorInfo | AuthorInfo[]; export declare const getAuthor: (author: Author | false | undefined, canDisable?: boolean) => AuthorInfo[]; export declare const getCategory: (category: string[] | string | undefined) => string[];