/**
 * Returns the closest profile scroll box to the event target.
 * @param mode - The mode of the component.
 * @param event - The event.
 * @returns The closest profile scroll box to the event target.
 */
export declare function getClosestProfileScrollBox(mode: 'mounted' | 'modal', event?: React.MouseEvent<HTMLElement>): HTMLElement | undefined;
