export interface File { data: { frontmatter?: Record; path?: string; }; toString(): string; } export declare function markdownToHtml(text: string, types?: string[], components?: string[]): Promise;