import { type GrayMatterFile } from 'gray-matter'; export type ParsedMarkdown> = GrayMatterFile & { readonly data: Readonly; }; export type EnsureBaselineOptions> = { readonly filePath?: string; readonly content?: string; readonly uuidFactory?: () => string; readonly createdAtFactory?: (args: { readonly frontmatter: Readonly; readonly filePath?: string; }) => string | undefined; readonly fallbackCreatedAt?: string; readonly now?: () => string; readonly titleFactory?: (args: { readonly frontmatter: Readonly; readonly filePath?: string; readonly content?: string; }) => string | undefined; readonly fallbackTitle?: string; }; export type BaselineFrontmatter = { readonly uuid: string; readonly created_at: string; readonly title: string; }; export type MergeGenerated = { readonly filename?: string; readonly description?: string; readonly tags?: readonly string[]; readonly title?: string; }; export type MergeOptions = { readonly filePath?: string; readonly descriptionFallback?: string; readonly deriveFilename?: (args: { readonly filePath?: string; }) => string; }; export declare const parseFrontmatter: = Record>(raw: string) => ParsedMarkdown; export declare const stringifyFrontmatter: >(content: string, frontmatter: Readonly) => string; export declare const normalizeStringList: (values: readonly unknown[] | undefined) => string[]; export declare const deriveFilenameFromPath: (filePath: string) => string; export declare const ensureBaselineFrontmatter: >(frontmatter: Readonly, options?: EnsureBaselineOptions) => Readonly; export declare const mergeFrontmatterWithGenerated: , G extends MergeGenerated>(base: Readonly, generated: Readonly, options?: MergeOptions) => Readonly; //# sourceMappingURL=frontmatter.d.ts.map