import { BlogPostCardData } from '@components/frontStore/blog/PostListItem.js'; import React, { ReactNode } from 'react'; /** * Data of a blog listing page (home, category, tag), provided by the page * shell to its blocks (`BlogPosts`, `BlogListPagination`, the header blocks). */ export interface BlogListData { kind: 'home' | 'category' | 'tag'; /** Category or tag name; absent on the blog home. */ name?: string; /** Category short description, when there is one. */ description?: string | null; items: BlogPostCardData[]; total: number; currentPage: number; } export declare const BlogListProvider: React.FC<{ list: BlogListData; children: ReactNode; }>; export declare const useBlogList: () => BlogListData;