import * as React from 'react'; import type { HTMLAttributesWithRootRef } from '../../types'; export interface PanelHeaderContextProps extends HTMLAttributesWithRootRef { /** * Управление состоянием всплывающего элемента * true - элемент открыт, false - элемент закрыт. */ opened: boolean; /** * Обработчик закрытия всплывающего элемента. */ onClose: VoidFunction; } /** * @see https://vkui.io/components/panel-header-context */ export declare const PanelHeaderContext: ({ children, opened, className, onClose, ...restProps }: PanelHeaderContextProps) => React.ReactNode; //# sourceMappingURL=PanelHeaderContext.d.ts.map