import { TOCItemsProps } from "../../../../components/toc/default.js"; import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/clerk.js"; import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/block.js"; import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js"; import { ComponentProps, ReactNode } from "react"; export type TOCProviderProps = TOCProviderProps$1; export declare function TOCProvider(props: TOCProviderProps): import("react").JSX.Element; export type TOCProps = { container?: ComponentProps<'div'>; /** * Custom content in TOC container, before the main TOC */ header?: ReactNode; /** * Custom content in TOC container, after the main TOC */ footer?: ReactNode; } & ({ style?: 'normal'; list?: TOCItemsProps; } | { style: 'clerk'; list?: TOCItemsProps$1; } | { style: 'block'; list?: TOCItemsProps$2; }); export declare function TOC({ container, header, footer, style, list }: TOCProps): import("react").JSX.Element; export type TOCPopoverProps = { container?: ComponentProps<'div'>; trigger?: ComponentProps<'button'>; content?: ComponentProps<'div'>; /** * Custom content in TOC container, before the main TOC */ header?: ReactNode; /** * Custom content in TOC container, after the main TOC */ footer?: ReactNode; } & ({ style?: 'normal'; list?: TOCItemsProps; } | { style: 'clerk'; list?: TOCItemsProps$1; } | { style: 'block'; list?: TOCItemsProps$2; }); export declare function TOCPopover({ container, trigger, content, header, footer, style, list }: TOCPopoverProps): import("react").JSX.Element;