Files
website/node_modules/@astrojs/markdown-remark/dist/frontmatter-injection.d.ts
2024-05-06 17:15:30 -04:00

7 lines
376 B
TypeScript

import type { VFile, VFileData as Data } from 'vfile';
import type { MarkdownAstroData } from './types.js';
export declare class InvalidAstroDataError extends TypeError {
}
export declare function safelyGetAstroData(vfileData: Data): MarkdownAstroData | InvalidAstroDataError;
export declare function setVfileFrontmatter(vfile: VFile, frontmatter: Record<string, any>): void;