/**
 * Handle Markdown files
 * @module Md
 * @group Files
 * */
export interface MdContent {
    frontmatter?: {
        title?: string;
        icon?: string;
        cover?: string;
    };
    content?: string;
}
/**
 *  Merge markdown content with a frontmatter object and render to a string
 */
export declare function createMd({ frontmatter, content, }: MdContent): string;
/**
 * Parse text content of a markdown file into an object
 * @param file - Text form of an uploaded file
 * @returns An object with md frontmatter and content
 */
export declare function parseMd(file: string): MdContent;
/**
 * Markdown-it instance to parse MD content
 * @returns Markdown-it instance
 */
export declare function useMd(): markdown;
//# sourceMappingURL=useMd.d.ts.map