mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
7 lines
376 B
TypeScript
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;
|