import * as React from 'react'; export declare type HashScrollBehavior = 'smooth' | 'auto' | 'none' | ((hash: string | undefined | null) => void); export declare const HashScrollContext: React.Context; export interface HashScrollProps { behavior?: HashScrollBehavior; children: React.ReactNode; } export declare function HashScroll(props: HashScrollProps): JSX.Element; export declare function scrollToHash(hash: string | undefined | null, behavior?: HashScrollBehavior): void;