/** @packageDocumentation
 * @module Popup
 */
import "./PositionPopup.scss";
import * as React from "react";
import type { XAndY } from "@itwin/core-geometry";
import type { CommonDivProps, CommonProps } from "@itwin/core-react";
import type { SizeProps } from "../utils/SizeProps.js";
/** Props for popup at screen position
 * @beta */
export interface PositionPopupProps extends CommonProps {
    /** Center point */
    point: XAndY;
    /** Function called when size is known. */
    onSizeKnown?: (size: SizeProps) => void;
    /** Content */
    children?: React.ReactNode;
}
/** Popup component at screen position
 * @beta */
export declare class PositionPopup extends React.PureComponent<PositionPopupProps> {
    constructor(props: PositionPopupProps);
    render(): React.JSX.Element;
    private setDivRef;
}
/** PositionPopup content with padding
 * @beta
 */
export declare function PositionPopupContent(props: CommonDivProps): React.JSX.Element;
//# sourceMappingURL=PositionPopup.d.ts.map