import type { Orientation } from "@itwin/components-react";
import * as React from "react";
import type { PopupPropsBase } from "./PopupManager.js";
import { type Placement } from "../utils/Placement.js";
interface ComponentPopupProps extends Omit<PopupPropsBase, "el"> {
    children?: React.ReactNode;
    placement: Placement;
    orientation: Orientation;
    onCancel: () => void;
    anchor?: HTMLElement;
}
/**
 * Displays a React Component inside a popup. The user-facing API is the {@link PopupManager} and should be used instead of this component.
 * @internal
 */
export declare const ComponentPopup: React.FC<ComponentPopupProps>;
export {};
//# sourceMappingURL=ComponentPopup.d.ts.map