interface Post { title: string; slugTitle: string; publishTime: string; } interface Props { posts: Post[]; /** * SvelteKit's `resolve` function from `$app/paths`, used to build post links * against your project's base path. Defaults to an identity function. */ resolve?(pathname: string): string; /** The label for the table of contents toggle button. */ label?: string; /** The maximum height of the table of contents list in pixels. */ maxHeight?: number; } /** * A collapsible table of contents for a live blog, grouping posts by date with in-page anchor links. Pairs with BlogPost. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-blog-blogtoc--docs) */ declare const BlogTOC: import("svelte").Component; type BlogTOC = ReturnType; export default BlogTOC;