import React from 'react';
interface TocContext {
    headings: Maybe<string[]>;
    activeId: Maybe<string>;
    setHeadings: React.Dispatch<React.SetStateAction<Maybe<string[]>>>;
    setActiveId: React.Dispatch<React.SetStateAction<Maybe<string>>>;
}
export declare const TocContext: React.Context<TocContext>;
export declare const TocProvider: ({ children }: {
    children: React.ReactNode;
}) => React.JSX.Element;
export {};
