export type PostMeta = { slug: string; title: string; date: string; summary: string; featuredImage?: string; tags?: { name: string; slug: string; }[]; author?: { name: string; picture: string; } | undefined; mdxSource?: string; }; export declare const getAllPosts: (dir: string, withContent?: boolean) => PostMeta[]; export declare const getPostsByTag: (dir: string, tagSlug: string, withContent?: boolean) => PostMeta[]; export declare const getPostBySlug: (dir: string, slug: string) => { frontmatter: { [key: string]: any; }; content: string; }; export declare const calculateReadingTime: (text: string, wordsPerMinute?: number) => number; //# sourceMappingURL=mdx.d.ts.map