/** TODO [>=8] Удалить HOC. */
import * as React from 'react';
import type { ModalRootContextInterface } from './types';
type PickedProps = Pick<ModalRootContextInterface, 'updateModalHeight'>;
/**
 * @deprecated HOC не актуален и будет удалён в **VKUI v8**, так как вызывать `updateModalHeight()`
 *  для модальных окон с `dynamicContentHeight` больше не требуется.
 */
export declare function withModalRootContext<P extends PickedProps>(Component: React.ComponentType<P>): React.ComponentType<Omit<P, keyof PickedProps>>;
export {};
//# sourceMappingURL=withModalRootContext.d.ts.map