import { ElementType, ReactNode } from 'react';
import { BaseProps, OmittedPropsWithoutRef, ScrollspyVariablesType } from '../tools';
export type ScrollspyProps<T extends ElementType> = OmittedPropsWithoutRef<Props<T>, T, ScrollspyVariablesType, 'children'>;
type Props<T extends ElementType> = BaseProps<T, ScrollspyVariablesType> & {
    /**
     * children.
     */
    children: (activeId: null | string) => ReactNode;
    /**
     * onActiveChange.
     */
    onActiveChange?: (id: null | string) => void;
    /**
     * offset.
     */
    rootMargin?: string;
    /**
     * sectionIds.
     */
    sectionIds?: string[];
    /**
     * smoothScroll.
     */
    smoothScroll?: boolean;
    /**
     * number.
     */
    threshold?: number | number[];
};
export {};
