import React from 'react'; import { IdentifyElement } from '../utils/identity-element'; export type GrepTableOfContentProviderProps = React.PropsWithChildren<{ container: HTMLElement | null; scrollTarget?: HTMLElement; className?: string; style?: React.CSSProperties; identifier?: IdentifyElement; identifyElementFn?: (identifier: IdentifyElement) => (el: HTMLElement) => string; onSelected?: (el: HTMLElement) => void; classes?: Record<'nav' | 'tree' | 'node' | 'link', string>; selector?: string; filter?: (element: HTMLElement) => boolean; offsetTop?: number; }>; export declare const GrepTableOfContentProvider: React.FC; export default GrepTableOfContentProvider;