UNPKG

@emanuelsan/mosaic-js

Version:

Composable Markdown-based AI instruction engine for Node.js

7 lines 417 B
/** * Searches for a markdown file in a directory tree whose frontmatter id matches the given id. * Uses ripgrep to efficiently search only the YAML frontmatter region (between --- at the top). * Returns the absolute path to the file if found, otherwise undefined. */ export declare function findMarkdownFileById(rootDir: string, id: string): string | undefined; //# sourceMappingURL=findMarkdownFileById.d.ts.map