import React from 'react'; import { SelectedSettingsPart, SettingsPage } from '../collect-settings'; import { SettingsSelection } from './types'; export interface SettingsSelectionProviderContextValue extends SelectedSettingsPart { selectedRef?: React.RefObject; } export declare function useSettingsSelectionProviderValue(pages: Record, selection: SettingsSelection | undefined): SettingsSelectionProviderContextValue; export declare const SettingsSelectionContextProvider: React.Provider; export declare function useSettingsSelectionContext(): SettingsSelectionProviderContextValue;