import React from 'react';
import { WidgetProps } from './Widget';
export declare const UserOptionsContext: React.Context<WidgetProps | null>;
type UserOptionsProviderProps = React.PropsWithChildren<WidgetProps>;
export declare function UserOptionsProvider({ children, ...props }: UserOptionsProviderProps): JSX.Element;
export declare function useUserOptions<T = WidgetProps>(selector?: (state: WidgetProps) => T): T;
export {};
