This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

8 lines
366 B
TypeScript

type ParsedFrontmatter<T extends Record<string, unknown>> = {
frontmatter: T;
body: string;
};
export declare const parseFrontmatter: <T extends Record<string, unknown> = Record<string, unknown>>(content: string) => ParsedFrontmatter<T>;
export declare const stripFrontmatter: (content: string) => string;
export {};
//# sourceMappingURL=frontmatter.d.ts.map