import * as React from 'react'; /** * Definition of PopoverInput context type. */ export type PopoverInputContextType = React.Dispatch>; export declare const PopoverInputContext: React.Context; /** * Context for controlling popover. * * @public * @throws Will throw error if not used inside `` * @returns {PopoverInputContextType} * @example * Here's an example: * * ```ts * import { usePopoverInputContext } from '@front.zen/mui' * * const Sample = () => { * const setOpen = usePopoverInputContext(); * return ( *
* *
* ); * }; * export function MyComponent() { * return ( * * ); * } * ``` */ export declare function usePopoverInputContext(): PopoverInputContextType; interface OwnProps { value: PopoverInputContextType; } export type Props = React.PropsWithChildren; export declare function PopoverInputContextProvider(props: Props): JSX.Element; export {};