/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import type { OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
import type { Orientation } from "@itwin/core-react";
import { Size } from "@itwin/core-react";
import type { PopupPropsBase } from "./PopupManager";
/** @alpha */
export interface HTMLElementPopupProps extends PopupPropsBase {
    element: HTMLElement;
    relativePosition: RelativePosition;
    orientation: Orientation;
    onCancel: OnCancelFunc;
}
/** @internal */
interface HTMLElementPopupState {
    size: Size;
}
/** Popup component for HTMLElement
 * @alpha
 */
export declare class HTMLElementPopup extends React.PureComponent<HTMLElementPopupProps, HTMLElementPopupState> {
    /** @internal */
    readonly state: {
        size: Size;
    };
    private _onSizeKnown;
    render(): JSX.Element;
}
export {};
//# sourceMappingURL=HTMLElementPopup.d.ts.map