astro-ghostcms/.pnpm-store/v3/files/b7/d871de737cc79104358f0b7388a...

7 lines
376 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
import type { VFileData as Data, VFile } 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;