/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import type { OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
import type { Orientation } from "@itwin/components-react";
import { Size } from "@itwin/core-react";
import type { PopupPropsBase } from "./PopupManager";
/** @alpha
 * @deprecated in 4.11.0. Please use {@link @itwin/appui-react#UiFramework.showComponent}.
 */
export interface HTMLElementPopupProps extends PopupPropsBase {
    element: HTMLElement;
    relativePosition: RelativePosition;
    orientation: Orientation;
    onCancel: OnCancelFunc;
}
/** @internal */
interface HTMLElementPopupState {
    size: Size;
}
/** Popup component for HTMLElement
 * @alpha
 * @deprecated in 4.11.0. Though this is alpha, the main interface to using it is not. Please use {@link @itwin/appui-react#UiFramework.showComponent}.
 */
export declare class HTMLElementPopup extends React.PureComponent<HTMLElementPopupProps, HTMLElementPopupState> {
    readonly state: {
        size: Size;
    };
    private _onSizeKnown;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=HTMLElementPopup.d.ts.map