/** * Displays the current section title as a sticky header at the top of the slide. * * The section title is derived from the `section` frontmatter field. * Once set on a slide, it persists on subsequent slides until changed or * explicitly cleared (by setting `section: ""` or `section: false`). */ export declare function SectionTitle({ title }: { title: string; }): import("react/jsx-runtime").JSX.Element; /** * Compute the current section title for a given slide index. * Walks backward through slides to find the most recent `section` frontmatter. * A falsy value (empty string, false) explicitly clears the section. */ export declare function getCurrentSection(slides: { metadata: Record; }[], slideIndex: number): string;