import React from 'react';
import type { AnchorNavigationElementSection } from './AnchorNavigation.types';
export declare const AnchorNavigationContext: React.Context<{
    offset: number;
    sections: AnchorNavigationElementSection[];
    active: string;
    registerSection: (id: string, label: string, element: HTMLElement) => void;
    unregisterSection: (id: string) => void;
    setActive: (id: string, withScroll?: boolean) => void;
}>;
export declare const useAnchorNavigationContext: () => {
    offset: number;
    sections: AnchorNavigationElementSection[];
    active: string;
    registerSection: (id: string, label: string, element: HTMLElement) => void;
    unregisterSection: (id: string) => void;
    setActive: (id: string, withScroll?: boolean) => void;
};
interface AnchorNavigationProviderProps {
    offset?: number;
}
export declare function AnchorNavigationProvider({ children, offset, }: React.PropsWithChildren<AnchorNavigationProviderProps>): React.JSX.Element;
export {};
